[pmwiki-users] Conditional Headache . . .
Patrick R. Michaud
pmichaud at pobox.com
Sun May 14 00:35:40 CDT 2006
On Sat, May 13, 2006 at 11:08:24PM -0500, Ben Wilson wrote:
> The following is my markup. The problem is that all three pages are
> being included. Possible causes?
> (:if date 2006-01-01..2006-05-20:)
> (:include Spring2006:)
> (:if date 2006-05-15..2006-08-20:)
> (:include Summer2006:)
> (:if date 2006-08-15..2006-12-31:)
> (:include Fall2006:)
They have overlapping dates, so as soon as your server's
clock clicks over to 2006-05-15, then the first two get
included. I don't know why all three would be included --
sounds like a bug. What happens if you omit the hyphens?
More information about the pmwiki-users