[pmwiki-users] pagelist if=date bug?

adam overton a at plus1plus1plus.org
Thu Jul 23 16:53:47 CDT 2009


hi
i'm this seems like a bug with the if="date ..." function in pagelist?
i have a list pages for events whose names are all in the format  
YYYYMMDD.
i'm finding that if i set a date range with the intention of listing  
pages within that range (inclusive), it always spits out pages from  
that range PLUS one more day later.
i've successfully reproduced the error on http://www.pmwiki.org/wiki/ 
Test/PagelistDateError
is there a reasonable excuse for the results i'm getting? has this  
already been documented elsewhere?

for example i have these pages:
current existing event pages in this group:
Test.20090701
Test.20090702
Test.20090703
Test.20090704

the following code, (:pagelist group=Test fmt=#simple if="date  
20090701..20090702 {=$Name}":)
should spit out:
Test.20090701
Test.20090702

but instead it spits out:

Test.20090701
Test.20090702
Test.20090703
the same thing if i advance it one day: (:pagelist group=Test  
fmt=#simple if="date 20090701..20090703 {=$Name}":)
it should spit out:
Test.20090701
Test.20090702
Test.20090703

but instead it spits out:

Test.20090701
Test.20090702
Test.20090703
Test.20090704


thanks for the help
adam



More information about the pmwiki-users mailing list