Use cases for second-level precision in UtcOffset
#338
Replies: 1 comment 4 replies
-
I gone through https://data.iana.org/time-zones/releases/tzdata2021a.tar.gz and at the beginning of XX century, or even until 1972 there were cases of second-level offset, so it may be required for tzdb compatibility. Some examples:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This discussion is for collecting use cases of having second-level precision in the
UtcOffset
struct. Specifically, I am investigating whether to moveUtcOffset
to only support hours and minutes (possibly, but not likely, restricted to quarter-hour offsets). While I have not checked the time zone database, I'm fairly certain that every location has had UTC offsets that only require minute-level precision for a significant amount of time. Removal of second-level precision will not occur in time 0.3, so there's no need to worry about this being ripped out from under your feet.This capability may be removed in a future release if there is insufficient demand. Leave your use case below, and use the 👍 reaction if you share this use case. Please do not 👍 a use case that you do not actually need this capability for. Off-topic comments will likely be outright deleted.
Beta Was this translation helpful? Give feedback.
All reactions