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:
parent
306fb7a3d1
commit
11d75ff581
@ -274,7 +274,7 @@
|
|||||||
}
|
}
|
||||||
var p = value.split(":");
|
var p = value.split(":");
|
||||||
var offset = new Date().getTimezoneOffset();
|
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;
|
return value;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user