Mark D.
Mark D.
Im not saying it doesn't look backwards to us. Yes, offsets west of UTC are usually negative. I'm saying it needs to be consistent across the 2 arduino-core TZ routines...
dude, if you change setTimeZone, then configTzTime() is still backwards and the way it works in esp-idf is still backwards. If youre gonna fix one of them, why not fix...
UTC-8 is not correct because China is UTC+8 (if it was correct you would be using "UTC8" or "UTC+8"... the configTzTime() routine suffers from the same problem as setTimeZone() does...
Personally I don't see any problem with using it the way it is, even if it looks backwards. If you use the configTzTime() routine its just one extra "-", and...
My apologies, you are correct. TZ is backwards from the normal sense of +/- offset. I must be losing what few brain cells I have left, or I stayed up...
Me too apparently lol.
Drinking too many beers without eating is never a good idea. :\
Hush you, we're all entitled to one brain-freeze for each year over 50. I swear Im going senile, and good thing I only mess with low-voltage stuff now.
Those pins (gpio34-39) dont have software pullup/down functions. Use an external pullup resistor, 10K works here.
```javascript // example using usa eastern standard/eastern daylight time // edt begins the second sunday in march at 0200 // est begins the first sunday in november at 0200 const...