Skip to content
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

Clarify what should happen if the offset and timezone disagree #46

Open
simonw opened this issue Mar 23, 2022 · 1 comment
Open

Clarify what should happen if the offset and timezone disagree #46

simonw opened this issue Mar 23, 2022 · 1 comment

Comments

@simonw
Copy link

simonw commented Mar 23, 2022

For example this:

1996-12-19T16:39:57-07:00[America/Los_Angeles]

The offset says -07:00 when it would be expected to say -08:00 for that timezone.

My assumption is that the names timezone takes precedence here, but it wasn't obvious to me from reading the draft.

@simonw
Copy link
Author

simonw commented Mar 23, 2022

Discussed on Twitter here: https://twitter.com/simonw/status/1506646755881852930

I would presume the timezone name takes precedence, which means the offset stores additional information in terms of "what was the UTC offset at the time this datetime was initially recorded"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant