mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Fixed spinner issue in inject node with non-hardcoded offset
This commit is contained in:
@@ -150,6 +150,7 @@
|
||||
return Number( value );
|
||||
}
|
||||
var p = value.split(":");
|
||||
|
||||
var offset = new Date().getTimezoneOffset();
|
||||
return (((Number(p[0])+1)*60)+Number(p[1])+offset)*60*1000;
|
||||
}
|
||||
|
Reference in New Issue
Block a user