[pmwiki-users] pagelist sort by date not time
Patrick R. Michaud
pmichaud at pobox.com
Wed Sep 27 08:58:57 CDT 2006
On Wed, Sep 27, 2006 at 09:50:58AM -0400, The Editor wrote:
> On 9/27/06, Henrik Bechmann <henrik.bechmann at sympatico.ca> wrote:
> > BTW, if you do $LastModifiedDate, you might also consider $CreatedDate,
> > though of course the latter wouldn't be used as much.
> >
> > ...and have I mentioned $CreatedBy for symmetry? <g,d&r>
> >
>
> Personally, I think CreatedData and CreatedBy would also make good
> candidates for core. They are very useful for things like forum posts
> where you may want to list by the original poster and by the last
> modifier. But the "created by" would have to have a special line
> added to the page format, right?
Correct, PmWiki currently does not have a notion of "page creator"
or "first author".
> And as for moment by moment granularity, can't an admin set up a
> custom pagevariable for these kinds of features if he wanted them,
> since the time and ctime lines are both saved as timestamps?
Yes, my first response in this thread demonstrates how it can be
done -- just change the strftime granularity to whatever is
desired.
Pm
More information about the pmwiki-users
mailing list