Open man4567890 opened 3 years ago
You need to change how time is handle in the python script that saves data in Mongo: CloudMongoDB.py, line 66
The change that seems to work is in Mongo: CloudMongoDB.py, line 66
now = datetime.datetime.now()
pi@iot-gateway01:~/lora_gateway $ date
Wed 24 Mar 12:08:29 SAST 2021
pi@iot-gateway01:~/lora_gateway $
Thanks for the help!
Hi Although my time zone is set to GMT +2, the MongoDB saves the values in Zulu time or GMT
Anyway to fix that please?