Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DST not working for USA default to EU Why? #116

Open
gquiring opened this issue Mar 13, 2022 · 1 comment
Open

DST not working for USA default to EU Why? #116

gquiring opened this issue Mar 13, 2022 · 1 comment

Comments

@gquiring
Copy link

I spent hours trying to figure this out. This should be passed to NTP.begin why is hardcoded to EU?

#define DST_ZONE_EU (0)
#define DST_ZONE_USA (1)
#define DST_ZONE_COUNT (2)
#define DEFAULT_DST_ZONE DST_ZONE_EU

@gmag11
Copy link
Owner

gmag11 commented Jun 23, 2022

Hi. Are you using esp8266 or esp32? This library is deprecated and in (some kind of) end-of-life maintenance.

Then check this comment: gmag11/ESPNtpClient#42

After that decide if you should use native NTP client or new library https://github.com/gmag11/ESPNtpClient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants