ezTime icon indicating copy to clipboard operation
ezTime copied to clipboard

Dublin timezone incorrect time

Open berlingozzo opened this issue 2 years ago • 1 comments

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());

berlingozzo avatar Nov 01 '22 14:11 berlingozzo

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

nagius avatar Oct 31 '23 19:10 nagius