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:
@@ -19,6 +19,7 @@ const INFLUXURL_WRITE = `http://${INFLUXHOST}:${INFLUXPORT}/api/v2/write?org=${I
|
||||
|
||||
export const influxRead = async (query) => {
|
||||
let start = DateTime.now()
|
||||
logit(`ReadInflux from ${INFLUXURL_READ}`)
|
||||
let erg = { values: [], err: null}
|
||||
try {
|
||||
let ret = await axios({
|
||||
|
||||
Reference in New Issue
Block a user