1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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;
},