PagelistDateError
a PITS page has now been created for this issue: http://www.pmwiki.org/wiki/PITS/01125
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:
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:
overtones99 July 23, 2009, at 05:23 PM
. . .
note: the following DOES work on my system, but not on PmWiki overtones99
it appears this problem is partly alleviated if one supplies HHSS of the correct dimension:
this works appropriately:
(:pagelist group=Test name=20?????? fmt=#simple if="date 200907010000..200907022359 {=$Name}2359":)
now works as expected with T prepended to HHMM: (:pagelist group=Test name=20?????? fmt=#simple if="date 20090701T0000..20090702T2359 {=$Name}T2359":)
the internal time functions inside (strftime? strtotime) must be assuming the current/$Now HH:SS when not provided with them, right?
however, this is still confusing if just supplying YYYYMMDD. one would assume that just supplying the date would include times throughout that particular date?
and strangely, even this doesn't work:
(:pagelist group=Test name=20?????? fmt=#simple if="date 200907010000..200907022359 {=$Name}2358":)
now works as expected with T prepended to HHMM: (:pagelist group=Test name=20?????? fmt=#simple if="date 20090701T0000..2009070T22359 {=$Name}T2358":)
?
thanks
overtones99 July 23, 2009, at 05:23 PM