changed date/time to local time
actions/getsensorData.js - interpret given date/time as local time and convert ist to UTC for database databases/influx.js - log for 'read' added utilities/logit.js - print time in local time sensorspecials/noise.js - print starttime im options as local time - remove 'zone:utc' from every time function
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ export function logit(str) {
|
||||
|
||||
export function logerror(str) {
|
||||
if(MOCHA_TEST) return
|
||||
let s = `${DateTime.utc().toISO()} => *** ERROR *** ${str}`;
|
||||
let s = `${DateTime.toISO()} => *** ERROR *** ${str}`;
|
||||
console.log(s);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user