-
Notifications
You must be signed in to change notification settings - Fork 17
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
Zone transitions should take effect on their start times #7
Comments
[ ( "01:59", start - 1 )
, ( "03:00", start )
, ( "03:01", start + 1 )
] It looks like you have a mistake in your Ellie, because |
Here is more info about the expected clock times for those three minutes:
The issue in |
Note that we subtract 1 minute from starting point of each era as a workaround before elm/time#7 is fixed.
Note that we subtract 1 minute from starting point of each era as a workaround before elm/time#7 is fixed.
Note that we subtract 1 minute from starting point of each era as a workaround before elm/time#7 is fixed.
Note that we subtract 1 minute from starting point of each era as a workaround before elm/time#7 is fixed.
Note that we subtract 1 minute from starting point of each era as a workaround before elm/time#7 is fixed.
For
Posix
times on the minute of aZone
transition's start time, an older offset is used for the local adjustment, instead of the new offset as expected.The offset search looks for a transition time
<
the POSIX time, but it should look for one<=
the POSIX time.Here's an SSCCE, where the custom zone transitions at 2:00 UTC to the offset +01, so the local clocks would read 3:00 at that time.
Also, here's an Ellie that makes the example a little more visual.
The text was updated successfully, but these errors were encountered: