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

  0: 00.00 00.00 config start
  1: 00.01 00.01 config end
  2: 00.21 00.20 MarkupToHTML begin
  3: 00.21 00.21 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
  4: 00.22 00.21 ReadApprovedUrls SiteAdmin.ApprovedUrls end
  5: 00.22 00.21 FPLTemplate: Chain begin
  6: 00.22 00.21 FPLTemplate: FPLTemplateLoad
  7: 00.22 00.22 FPLTemplate: FPLTemplateDefaults
  8: 00.22 00.22 FPLTemplate: FPLTemplatePageList
  9: 00.22 00.22 MakePageList pre
 10: 00.22 00.22 PageListSources begin
 11: 00.22 00.22 PageStore::ls begin wiki.d/{$FullName}
 12: 00.23 00.22 PageStore::ls merge wiki.d/{$FullName}
 13: 00.23 00.22 PageStore::ls end wiki.d/{$FullName}
 14: 00.23 00.22 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 15: 00.23 00.22 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 16: 00.23 00.22 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 17: 00.23 00.23 PageListSources end count=1134
 18: 00.23 00.23 PageListSort pre ret=4 order=name
 19: 00.23 00.23 MakePageList items count=1134, filters=PageListIf
 20: 00.34 00.33 MakePageList post count=2, readc=0
 21: 00.34 00.33 PageListSort begin
 22: 00.34 00.33 PageListSort sort
 23: 00.34 00.33 PageListSort end
 24: 00.34 00.33 MakePageList end
 25: 00.34 00.33 FPLTemplate: FPLTemplatePmWikiOrg
 26: 00.34 00.33 MarkupToHTML begin
 27: 00.34 00.33 MarkupToHTML end
 28: 00.34 00.33 FPLTemplate: FPLTemplateSliceList
 29: 00.34 00.33 FPLTemplate: FPLTemplateFormat
 30: 00.34 00.33 MarkupToHTML begin
 31: 00.34 00.33 MarkupToHTML end
 32: 00.34 00.33 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 33: 00.34 00.33 FPLTemplate: Chain end
 34: 00.34 00.33 FPLTemplate: Chain begin
 35: 00.34 00.33 FPLTemplate: FPLTemplateLoad
 36: 00.34 00.33 FPLTemplate: FPLTemplateDefaults
 37: 00.34 00.33 FPLTemplate: FPLTemplatePageList
 38: 00.34 00.33 MakePageList pre
 39: 00.34 00.33 PageListSources begin
 40: 00.34 00.33 PageStore::ls begin wiki.d/{$FullName}
 41: 00.35 00.33 PageStore::ls merge wiki.d/{$FullName}
 42: 00.35 00.34 PageStore::ls end wiki.d/{$FullName}
 43: 00.35 00.34 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 44: 00.35 00.34 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 45: 00.35 00.34 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 46: 00.35 00.34 PageListSources end count=1134
 47: 00.35 00.34 PageListSort pre ret=4 order=name
 48: 00.35 00.34 MakePageList items count=1134, filters=PageListIf
 49: 00.45 00.43 MakePageList post count=3, readc=0
 50: 00.45 00.43 PageListSort begin
 51: 00.45 00.43 PageListSort sort
 52: 00.45 00.43 PageListSort end
 53: 00.45 00.43 MakePageList end
 54: 00.45 00.43 FPLTemplate: FPLTemplatePmWikiOrg
 55: 00.45 00.43 MarkupToHTML begin
 56: 00.45 00.43 MarkupToHTML end
 57: 00.45 00.43 FPLTemplate: FPLTemplateSliceList
 58: 00.45 00.43 FPLTemplate: FPLTemplateFormat
 59: 00.45 00.43 MarkupToHTML begin
 60: 00.46 00.43 MarkupToHTML end
 61: 00.46 00.43 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 62: 00.46 00.43 FPLTemplate: Chain end
 63: 00.46 00.44 FPLTemplate: Chain begin
 64: 00.46 00.44 FPLTemplate: FPLTemplateLoad
 65: 00.46 00.44 FPLTemplate: FPLTemplateDefaults
 66: 00.46 00.44 FPLTemplate: FPLTemplatePageList
 67: 00.46 00.44 MakePageList pre
 68: 00.46 00.44 PageListSources begin
 69: 00.46 00.44 PageStore::ls begin wiki.d/{$FullName}
 70: 00.47 00.44 PageStore::ls merge wiki.d/{$FullName}
 71: 00.47 00.44 PageStore::ls end wiki.d/{$FullName}
 72: 00.47 00.44 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 73: 00.47 00.44 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 74: 00.47 00.44 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 75: 00.47 00.44 PageListSources end count=13
 76: 00.47 00.44 PageListSort pre ret=4 order=name
 77: 00.47 00.44 MakePageList items count=13, filters=PageListIf
 78: 00.47 00.45 MakePageList post count=2, readc=0
 79: 00.47 00.45 PageListSort begin
 80: 00.47 00.45 PageListSort sort
 81: 00.47 00.45 PageListSort end
 82: 00.47 00.45 MakePageList end
 83: 00.47 00.45 FPLTemplate: FPLTemplatePmWikiOrg
 84: 00.47 00.45 MarkupToHTML begin
 85: 00.47 00.45 MarkupToHTML end
 86: 00.47 00.45 FPLTemplate: FPLTemplateSliceList
 87: 00.47 00.45 FPLTemplate: FPLTemplateFormat
 88: 00.47 00.45 MarkupToHTML begin
 89: 00.47 00.45 MarkupToHTML end
 90: 00.47 00.45 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 91: 00.47 00.45 FPLTemplate: Chain end
 92: 00.47 00.45 FPLTemplate: Chain begin
 93: 00.47 00.45 FPLTemplate: FPLTemplateLoad
 94: 00.47 00.45 FPLTemplate: FPLTemplateDefaults
 95: 00.47 00.45 FPLTemplate: FPLTemplatePageList
 96: 00.47 00.45 MakePageList pre
 97: 00.47 00.45 PageListSources begin
 98: 00.47 00.45 PageStore::ls begin wiki.d/{$FullName}
 99: 00.48 00.45 PageStore::ls merge wiki.d/{$FullName}
100: 00.48 00.45 PageStore::ls end wiki.d/{$FullName}
101: 00.48 00.45 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
102: 00.48 00.46 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
103: 00.48 00.46 PageStore::ls end $FarmD/wikilib.d/{$FullName}
104: 00.48 00.46 PageListSources end count=13
105: 00.48 00.46 PageListSort pre ret=4 order=name
106: 00.48 00.46 MakePageList items count=13, filters=PageListIf
107: 00.48 00.46 MakePageList post count=2, readc=0
108: 00.48 00.46 PageListSort begin
109: 00.48 00.46 PageListSort sort
110: 00.48 00.46 PageListSort end
111: 00.48 00.46 MakePageList end
112: 00.48 00.46 FPLTemplate: FPLTemplatePmWikiOrg
113: 00.48 00.46 MarkupToHTML begin
114: 00.48 00.46 MarkupToHTML end
115: 00.48 00.46 FPLTemplate: FPLTemplateSliceList
116: 00.48 00.46 FPLTemplate: FPLTemplateFormat
117: 00.48 00.46 MarkupToHTML begin
118: 00.48 00.46 MarkupToHTML end
119: 00.48 00.46 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
120: 00.48 00.46 FPLTemplate: Chain end
121: 00.49 00.46 MarkupToHTML end
122: 00.49 00.46 MarkupToHTML begin
123: 00.50 00.47 MarkupToHTML end
124: 00.50 00.47 MarkupToHTML begin
125: 00.51 00.48 MarkupToHTML end
126: 00.51 00.48 now
Peak memory: 5,184,128 bytes