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

Tidy up inject tabs/spaces one more time.

This commit is contained in:
Dave C-J 2014-05-19 22:08:50 +01:00
parent 69405296ba
commit db125974c0

View File

@ -150,8 +150,7 @@
return Number( value );
}
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 value;