-
Notifications
You must be signed in to change notification settings - Fork 533
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
0.5: Add a LocalOffset
type
#1563
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Appreciate all the research into this! At the same time, I'm wary of adding substantial complexity to chrono on account of a tiny majority of use cases. Correctness and precision are not exactly the same thing, and it feels to me like you're chasing a level of precision here the requirement for which might be extremely rare, and, as such, not a great fit for a general purpose library such as chrono. The only blocker here for 0.5 seems to be that we have a separate type |
Sorry, replied in the wrong issue. Yes, I would only like to see a |
Currently the type returned for
DateTime
s with aLocal
time zone is aFixedOffset
. This makes it impossible to add information to theDateTime
such as the time zone name, abbreviation, or DST status.For 0.5 we should instead return a
LocalOffset
type. That will allow us to expose more information in the future.The text was updated successfully, but these errors were encountered: