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

RFC 822 allows Z as the time zone #55

Merged
merged 1 commit into from Jun 6, 2017
Merged

RFC 822 allows Z as the time zone #55

merged 1 commit into from Jun 6, 2017

Conversation

ghost
Copy link

@ghost ghost commented Jun 6, 2017

RFC 822 allows Z as the time zone:

5.2. SEMANTICS
[...]
Time zone may be indicated in several ways. "UT" is Univer-
sal Time (formerly called "Greenwich Mean Time"); "GMT" is per-
mitted as a reference to Universal Time. The military standard
uses a single character for each zone. "Z" is Universal Time.

I've added "Mon, _2 Jan 2006 15:04:05 Z" to the TimeLayouts to support such feeds.

@SlyMarbo SlyMarbo merged commit 495adb9 into SlyMarbo:master Jun 6, 2017
@ghost ghost deleted the rfc822-timezone-Z branch June 6, 2017 20:52
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.

1 participant