[pmwiki-users] Conditional Directive based on time

Neil Herber nospam at eton.ca
Tue Oct 11 21:38:06 CDT 2005


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?


Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 





More information about the pmwiki-users mailing list