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

Include time zone in generated post metadata #10

Merged
merged 1 commit into from Apr 26, 2015
Merged

Include time zone in generated post metadata #10

merged 1 commit into from Apr 26, 2015

Conversation

maxjacobson
Copy link
Contributor

Hello!

I think it makes sense to include the time zone in the generated timestamp for a post.

I just noticed that because I hadn't been including them, my blog's RSS feed was assuming the times were in UTC, so it had some incorrect / backdated times.

An alternate approach could be to include the current time in UTC, but I think this makes more sense.

I'm using the time stamp, with zone, in the RSS feed, and if the zone isn't provided, it assumes UTC and posts get backdated by 4 hours
@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.26% when pulling bf86b4b on maxjacobson:include-time-zone into 1c330a1 on mmcclimon:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.26% when pulling bf86b4b on maxjacobson:include-time-zone into 1c330a1 on mmcclimon:master.

@mmcclimon mmcclimon merged commit bf86b4b into mmcclimon:master Apr 26, 2015
@mmcclimon
Copy link
Owner

Good idea...thank you!

@maxjacobson
Copy link
Contributor Author

My pleasure! Sorry I didn't notice the failing test, thanks for fixing that 😄

@maxjacobson maxjacobson deleted the include-time-zone branch April 26, 2015 18:46
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.

None yet

3 participants