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

Support -0000 as a valid UTC tz in rfc2822 #368

Merged

Conversation

quodlibetor
Copy link
Contributor

@quodlibetor quodlibetor commented Nov 30, 2019

This is a time that is commonly set in some environments, and RFC 5322
explicitly clarifies that we should treat -0000 as UTC(1,2) when interpretting
rfc2822.

Fixes #102

This is a time that is commonly set in some environments, and RFC 5322
explicitly clarifies that we should treat -0000 as UTC[1][2] when interpretting
rfc2822.

Fixes chronotope#102

[1]: chronotope#102 (comment)
[2]: https://tools.ietf.org/html/rfc5322#section-3.3
@quodlibetor quodlibetor merged commit b10e430 into chronotope:master Nov 30, 2019
@quodlibetor quodlibetor deleted the support-negative-utc-in-rfc2822 branch November 30, 2019 22:59
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

Successfully merging this pull request may close these issues.

Bug in parse_from_rfc2822 with -0000 timezone
1 participant