Quote from: dev_cw at Nov 15, 2008, 03:55 PM
I think that if you install the demo site there will be some documents with 0 set for publishedon. This may be causing some confusion.
No, it happens with new pages too. You can reproduce it like this:
- Publish a page, and publishedon will be set. pub_date will be 0.
- Set a page to be published one minute in the future, and publishedon will be 0. pub_date will be now() + 60.
This is on a vanilla 0.9.6.2 install.
(The issue is that there is no single field that says when a document’s publication time is. It won’t matter if you always publish a document the same way, but for the rest of us it’s impossible to do things like, say, sort a Ditto collection by publication date.)
This has been brought up several times and there are plugin workarounds for it. Still, it would be nice to see a consistent approach in Revolution. Say,
publishedon set to be when a decision was made to publish, and
pub_date to be the date when the document should actually be published. That seems to be closest to what the current intention is.
(Er ... I haven’t checked the behaviour in Revolution though, perhaps it’s already improved.)
Cheers
Matt