Inject time spinner incrementing value incorrectly

This commit is contained in:
Nick O'Leary 2015-11-26 09:56:49 +00:00
parent 306fb7a3d1
commit 11d75ff581
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@
}
var p = value.split(":");
var offset = new Date().getTimezoneOffset();
return (((Number(p[0])+1)*60)+Number(p[1])+offset)*60*1000;
return ((Number(p[0])*60)+Number(p[1])+offset)*60*1000;
}
return value;
},