Set timestamps for unpublished posts
|Reported by:||ryan||Owned by:||ryan|
Currently, we don't set timestamps for unpublished posts. This
results in drafts not ordering nicely by date and causes some
confusion among users. Empty timestamps are done mainly to
accommodate history bloggers who like to set their timestamps in the
past. We don't want to stomp their choice once they've made it.
There is another way, however, that will inconvenience them only
slightly while allowing us to provide real timestamps for drafts.
The edit post page has an "Edit Timestamp" checkbox. If checked, the
timestamp specified in the input boxes is given to the draft. This
timestamp sticks with it through publication. If "Edit Timestamp" is
never checked during save, the draft will have an empty timestamp
until published. We could turn the "Edit Timestamp" checkbox on its
head and call it "Reset to current time". This would be checked by
default for unpublished posts and unchecked for published and future
posts. If someone sets the time on their draft and wants it to stick,
they must uncheck "Reset to current time" every time they save. If
someone edits the timestamp, we uncheck reset to current time for them
and set a "use this edited time" flag.