IndaloTech / ramses_esp

Port evofw3 to Espressif ESP32-S3
10 stars 2 forks source link

Need to add timezone to allow timestamps to be consistent with local host time #6

Closed ghoti57 closed 8 months ago

ghoti57 commented 8 months ago

Need to specify timezone in the device so that localtime is consistent with host pc.

ghoti57 commented 8 months ago

Implementing the TZ database is a bit OTT. So timezone needs to be specified in gnu libc format

This is rather long winded so I'll implement abbreviations for the basic european time zones which will satisfy most people e.g. GMT (BST), +0/+1
CET, (CEST) +1/+2 Central European Time EET, (EEST) +2/+3 Eastern European Time WET (WEST) +0/+1 Western European

If a different timezone is required it will have to be specified in full

ghoti57 commented 8 months ago

Fixed in Version 0.3.9