Hi,
I am facing a really weird and unexplainable issue using influx on windows os.
When trying to save a simple point, even though the date-time format is correct (the same source code works on linux machines), it saves always this weird value as date-time 2023-11-30T14:53:30.000Z
instead of the current timestamp; basically I am saving inconsisten data.
script
const point = new Point('sensors') .floatField('ambientHumidity', state.ambientHumidity) .floatField('ambientTemperature', state.ambientTemperature) .floatField('mainBoardTemperature', state.mainBoardTemperature) .timestamp(new Date(dateTimeISO8601Now())) .tag("time_zone", ENV_TIME_ZONE)
writeApi.writePoint(point)
writeApi.close()
I thought it was a nodejs client issue, so I tried with the c# client but I faced the same issue.
Thanks,
Regards,
Francesco Gamazio.