-
Notifications
You must be signed in to change notification settings - Fork 92
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
wrong day for DST change #11
Comments
Ouch, see the same problem here. Looks like something is off. I will look into that urgently later today or tomorrow... |
Same for gb timezone: UTC: Saturday, 27-Oct-2018 12:00:38 UTC |
I found reason.
In detal it is problem on weekday numbering. In ezTime function UTC.weekday() return sunday=1. But posix rule use sunday=0. |
You're absolutely right: a bug indeed, and the fix is exactly as you describe. I will release a new version of ezTime later today. |
I'm getting a DST issue here too. Using tz.setLocation(F("Europe/Stockholm")) it's giving me CEST a week in advance. Maybe because this year there are 5 Sundays in March? |
Are you using version 0.7.10 ? It should be fixed there.
|
Yep that update fixed it, thanks |
Hi!
today I detect, that time from ezTime library is invalid. After some investigation I found, that problem is that ezTime thing that I need CET time, but today is last day with CEST
I am set Olsen format "Europe/Prague"
It is converted to POSIX correctly : "CET-1CEST,M3.5.0,M10.5.0/3"
This is correct. Problem is that today (27-Oct-2018) is last weekend on October but not .0 ( =Sunday)
ezTime show Time: Saturday, 27-Oct-2018 12:08:32 CET
Any idea?
The text was updated successfully, but these errors were encountered: