Skip to content
This repository has been archived by the owner on Jul 17, 2018. It is now read-only.

Posts should support "update: now" header #49

Merged
merged 11 commits into from
Mar 18, 2013
Merged

Conversation

aprescott
Copy link
Owner

If a published post contains an update: now header, the updated header should automatically be updated to the current timestamp.

This allows users who want to manage content with just their files to not worry about managing timestamp information.

@aprescott
Copy link
Owner Author

Note that automatic generation (#11) will make this super awesome.

xmlschema doesn't encode fractional parts, so set_updated_time turns the
Time object into a string without fractional seconds, then post.updated
will be a Time object without a fractional part, so a comparison with t
(which does have a fractional part) fails.
This would cause a perpetually updating post.
aprescott added a commit that referenced this pull request Mar 18, 2013
Posts should support "update: now" header
@aprescott aprescott merged commit d9f6c89 into master Mar 18, 2013
@aprescott aprescott deleted the update-now-header branch March 18, 2013 19:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant