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.00 config end
  2: 00.05 00.02 MarkupToHTML begin
  3: 00.07 00.03 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
  4: 00.08 00.03 ReadApprovedUrls SiteAdmin.ApprovedUrls end
  5: 00.08 00.04 FPLTemplate: Chain begin
  6: 00.08 00.04 FPLTemplate: FPLTemplateLoad
  7: 00.09 00.04 FPLTemplate: FPLTemplateDefaults
  8: 00.09 00.04 FPLTemplate: FPLTemplatePageList
  9: 00.09 00.04 MakePageList pre
 10: 00.09 00.04 PageListSources begin
 11: 00.09 00.04 PageStore::ls begin wiki.d/{$FullName}
 12: 00.11 00.04 PageStore::ls merge wiki.d/{$FullName}
 13: 00.11 00.05 PageStore::ls end wiki.d/{$FullName}
 14: 00.11 00.05 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 15: 00.12 00.05 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 16: 00.12 00.05 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 17: 00.12 00.05 PageListSources end count=1082
 18: 00.12 00.05 PageListSort pre ret=4 order=name
 19: 00.12 00.05 MakePageList items count=1082, filters=PageListIf
 20: 00.35 00.15 MakePageList post count=2, readc=0
 21: 00.35 00.15 PageListSort begin
 22: 00.35 00.15 PageListSort sort
 23: 00.35 00.15 PageListSort end
 24: 00.35 00.15 MakePageList end
 25: 00.35 00.15 FPLTemplate: FPLTemplatePmWikiOrg
 26: 00.35 00.15 MarkupToHTML begin
 27: 00.35 00.15 MarkupToHTML end
 28: 00.35 00.15 FPLTemplate: FPLTemplateSliceList
 29: 00.35 00.15 FPLTemplate: FPLTemplateFormat
 30: 00.35 00.15 MarkupToHTML begin
 31: 00.35 00.15 MarkupToHTML end
 32: 00.35 00.15 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 33: 00.35 00.15 FPLTemplate: Chain end
 34: 00.36 00.15 FPLTemplate: Chain begin
 35: 00.36 00.15 FPLTemplate: FPLTemplateLoad
 36: 00.36 00.15 FPLTemplate: FPLTemplateDefaults
 37: 00.36 00.15 FPLTemplate: FPLTemplatePageList
 38: 00.36 00.15 MakePageList pre
 39: 00.36 00.15 PageListSources begin
 40: 00.36 00.15 PageStore::ls begin wiki.d/{$FullName}
 41: 00.38 00.16 PageStore::ls merge wiki.d/{$FullName}
 42: 00.38 00.16 PageStore::ls end wiki.d/{$FullName}
 43: 00.38 00.16 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 44: 00.38 00.16 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 45: 00.38 00.16 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 46: 00.38 00.16 PageListSources end count=1082
 47: 00.39 00.16 PageListSort pre ret=4 order=name
 48: 00.39 00.16 MakePageList items count=1082, filters=PageListIf
 49: 00.61 00.27 MakePageList post count=3, readc=0
 50: 00.61 00.27 PageListSort begin
 51: 00.61 00.27 PageListSort sort
 52: 00.61 00.27 PageListSort end
 53: 00.61 00.27 MakePageList end
 54: 00.61 00.27 FPLTemplate: FPLTemplatePmWikiOrg
 55: 00.61 00.27 MarkupToHTML begin
 56: 00.61 00.27 MarkupToHTML end
 57: 00.61 00.27 FPLTemplate: FPLTemplateSliceList
 58: 00.61 00.27 FPLTemplate: FPLTemplateFormat
 59: 00.61 00.27 MarkupToHTML begin
 60: 00.62 00.27 MarkupToHTML end
 61: 00.62 00.27 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 62: 00.62 00.27 FPLTemplate: Chain end
 63: 00.62 00.27 FPLTemplate: Chain begin
 64: 00.62 00.27 FPLTemplate: FPLTemplateLoad
 65: 00.62 00.27 FPLTemplate: FPLTemplateDefaults
 66: 00.62 00.27 FPLTemplate: FPLTemplatePageList
 67: 00.62 00.27 MakePageList pre
 68: 00.62 00.27 PageListSources begin
 69: 00.62 00.27 PageStore::ls begin wiki.d/{$FullName}
 70: 00.64 00.28 PageStore::ls merge wiki.d/{$FullName}
 71: 00.65 00.28 PageStore::ls end wiki.d/{$FullName}
 72: 00.65 00.28 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 73: 00.65 00.28 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 74: 00.65 00.28 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 75: 00.65 00.28 PageListSources end count=13
 76: 00.65 00.28 PageListSort pre ret=4 order=name
 77: 00.65 00.28 MakePageList items count=13, filters=PageListIf
 78: 00.65 00.28 MakePageList post count=2, readc=0
 79: 00.65 00.28 PageListSort begin
 80: 00.65 00.28 PageListSort sort
 81: 00.65 00.28 PageListSort end
 82: 00.65 00.28 MakePageList end
 83: 00.65 00.28 FPLTemplate: FPLTemplatePmWikiOrg
 84: 00.65 00.28 MarkupToHTML begin
 85: 00.65 00.28 MarkupToHTML end
 86: 00.65 00.28 FPLTemplate: FPLTemplateSliceList
 87: 00.65 00.28 FPLTemplate: FPLTemplateFormat
 88: 00.65 00.28 MarkupToHTML begin
 89: 00.65 00.28 MarkupToHTML end
 90: 00.65 00.28 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
 91: 00.65 00.28 FPLTemplate: Chain end
 92: 00.65 00.29 FPLTemplate: Chain begin
 93: 00.65 00.29 FPLTemplate: FPLTemplateLoad
 94: 00.66 00.29 FPLTemplate: FPLTemplateDefaults
 95: 00.66 00.29 FPLTemplate: FPLTemplatePageList
 96: 00.66 00.29 MakePageList pre
 97: 00.66 00.29 PageListSources begin
 98: 00.66 00.29 PageStore::ls begin wiki.d/{$FullName}
 99: 00.67 00.29 PageStore::ls merge wiki.d/{$FullName}
100: 00.68 00.29 PageStore::ls end wiki.d/{$FullName}
101: 00.68 00.29 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
102: 00.68 00.29 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
103: 00.68 00.29 PageStore::ls end $FarmD/wikilib.d/{$FullName}
104: 00.68 00.29 PageListSources end count=13
105: 00.68 00.29 PageListSort pre ret=4 order=name
106: 00.68 00.29 MakePageList items count=13, filters=PageListIf
107: 00.68 00.30 MakePageList post count=2, readc=0
108: 00.68 00.30 PageListSort begin
109: 00.68 00.30 PageListSort sort
110: 00.68 00.30 PageListSort end
111: 00.68 00.30 MakePageList end
112: 00.68 00.30 FPLTemplate: FPLTemplatePmWikiOrg
113: 00.68 00.30 MarkupToHTML begin
114: 00.68 00.30 MarkupToHTML end
115: 00.68 00.30 FPLTemplate: FPLTemplateSliceList
116: 00.68 00.30 FPLTemplate: FPLTemplateFormat
117: 00.68 00.30 MarkupToHTML begin
118: 00.69 00.30 MarkupToHTML end
119: 00.69 00.30 FPLTemplate: FPLTemplatePmWikiOrgPostFormat
120: 00.69 00.30 FPLTemplate: Chain end
121: 00.69 00.30 MarkupToHTML end
122: 00.70 00.30 MarkupToHTML begin
123: 00.73 00.32 MarkupToHTML end
124: 00.73 00.32 MarkupToHTML begin
125: 00.73 00.32 MarkupToHTML end
126: 00.74 00.32 now
Peak memory: 4,562,448 bytes