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

chrono assumes TimeZone's offset's debug format is valid RFC3339 #544

Closed
nkovacs opened this issue Mar 11, 2021 · 1 comment
Closed

chrono assumes TimeZone's offset's debug format is valid RFC3339 #544

nkovacs opened this issue Mar 11, 2021 · 1 comment

Comments

@nkovacs
Copy link

nkovacs commented Mar 11, 2021

I originally opened this issue in tzfile, but I think it might be a chrono issue.

Chrono assumes that the debug format of a TimeZone's offset will be valid RFC3339, but this isn't the case for tzfile's ArcTz. Would it not make more sense to use to_rfc3339, or to use offset.fix()?

@pitdicker
Copy link
Collaborator

Fixed in #1035.

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

2 participants