[pmwiki-users] Conditional Directive based on time

Patrick R. Michaud pmichaud at pobox.com
Tue Oct 11 23:35:27 CDT 2005


On Tue, Oct 11, 2005 at 10:38:06PM -0400, Neil Herber wrote:
> At 2005-10-11  08:28 PM -0500, Patrick R. Michaud is rumored to have said:
> >Actually, event listings based on dates were one of the reasons why
> >I added conditional markup in the first place.  :-)
> >
> >How about conditionals like this instead ...?
> >
> >    (:if date 20051206-20051210 :)   display during Dec 6-9, 2005
> >    (:if date -20051206 :)   display before Dec 6, 2005
> >    (:if date 20051206- :)   display on or after Dec 6, 2005
> >    (:if date 20051206 :)    display only on Dec 6, 2005
> >    (:if ! date 20051206 :)   display *except* on Dec 6, 2005
> >    (:if date 200512 :)      display during Dec 2005
> >
> >Pm
> 
> Do these exist? (I can't get them to work...) Or is this just a proposal?

It's a proposal.

Pm




More information about the pmwiki-users mailing list