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:
rxf
2023-05-25 09:24:12 +02:00
parent 969a37b8c6
commit 5d10f681ea
4 changed files with 15 additions and 11 deletions
+1 -1
View File
@@ -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);
}