mlukasek / M5_NightscoutMon

M5Stack Nightscout monitor
GNU General Public License v3.0
197 stars 153 forks source link

time offset by one hour since 20200307 update #37

Closed guydavies closed 4 years ago

guydavies commented 4 years ago

hi. I updated over the web client to the latest release yesterday and I noticed that the time was offset by +1 hour on my M5stack since then. I restarted the stack and it didn't change. I also tried setting the configured offset to 0 (I'm in CET so it should be 3600) and that gives the correct display time. I'll leave it like that for now but it looks like some kind of error in time processing.

mlukasek commented 4 years ago

What is you dst setting in M5NS.INI?

guydavies commented 4 years ago

3600

I presume that's the setting that it will take when DST kicks in? Or is that a manual setting?

On Sun, 8 Mar 2020, 10:40 Martin Lukasek, notifications@github.com wrote:

What is you dst setting in M5NS.INI?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mlukasek/M5_NightscoutMon/issues/37?email_source=notifications&email_token=AAS7B3WJ36HBMKMKTFICCRDRGNRZZA5CNFSM4LDXKP52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOERDKQ#issuecomment-596185514, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAS7B3U36RFIR7MU6O7F6KDRGNRZZANCNFSM4LDXKP5Q .

mlukasek commented 4 years ago

It is manual setting. You have to change it any time DST gets involved and back. It would be a lot of work to implement all time zones and there is a lot of other more important things to do.

guydavies commented 4 years ago

OK. that's weird because I never noticed the time being off before and I've always had both TZ and DST set to 3600.

I'll close this case. thanks for the great work. it's hugely appreciated.