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

Dublin timezone incorrect time #159

Open
berlingozzo opened this issue Nov 1, 2022 · 1 comment
Open

Dublin timezone incorrect time #159

berlingozzo opened this issue Nov 1, 2022 · 1 comment

Comments

@berlingozzo
Copy link

berlingozzo commented Nov 1, 2022

Hi,
ESP32 with 2.0.5 core, programmed with Arduino IDE 1.8.16 on a Mac.

If I use Europe/Dublin in setLocation, I get 1 hour ahead.
If I use Europe/London (same time, though technically speaking not same timezone), I get the correct time.

This was last night at 21:40:15 Dublin time:
Dublin time: Monday, 31-Oct-2022 22:40:15 GMT

MCVE:

waitForSync();

Timezone Ireland;

while (!Ireland.setLocation("Europe/Dublin")) {
   Serial.print(".");
   delay(500);
}

Serial.println("\nDublin time: " + Ireland.dateTime());
@nagius
Copy link

nagius commented Oct 31, 2023

I can confirm the issue is still there. It was working fin during summer time (IST) but now the timezone is GMT (which is good) but the offset is still +0100 :

ezTime debug level set to INFO
Waiting for time sync
Querying pool.ntp.org ... success (round trip 83 ms)
Received time: Tuesday, 31-Oct-23 19:32:42.161 UTC
Time is in sync
UTC RFC822:           Tue, 31 Oct 23 19:32:42 -0000
UTC TZ:    UTC
Europe/Dublin RFC822: Tue, 31 Oct 23 20:32:42 +0100
Dublin TZ: GMT

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