Recent Changes - Search:

PmWiki

pmwiki.org

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

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

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 12:03 PM
  0: 00.00 00.00 config start
  1: 00.00 00.00 config end
  2: 00.06 00.05 MarkupToHTML begin
  3: 00.08 00.07 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
  4: 00.09 00.08 ReadApprovedUrls SiteAdmin.ApprovedUrls end
  5: 00.10 00.09 FPLTemplate: Chain begin
  6: 00.10 00.09 FPLTemplate: FPLTemplateLoad
  7: 00.11 00.09 FPLTemplate: FPLTemplateDefaults
  8: 00.11 00.09 FPLTemplate: FPLTemplatePageList
  9: 00.11 00.09 MakePageList pre
 10: 00.14 00.09 PageListSources begin
 11: 00.14 00.09 PageStore::ls begin wiki.d/{$FullName}
 12: 00.18 00.13 PageStore::ls merge wiki.d/{$FullName}
 13: 00.21 00.16 PageStore::ls end wiki.d/{$FullName}
 14: 00.22 00.16 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 15: 00.22 00.16 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 16: 00.22 00.16 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 17: 00.22 00.17 PageListSources end count=1015
 18: 00.22 00.17 PageListSort pre ret=4 order=name
 19: 00.22 00.17 MakePageList items count=1015, filters=PageListIf
 20: 00.55 00.44 MakePageList post count=2, readc=0
 21: 00.55 00.44 PageListCache begin save key=98f4fdb37202c5e4e1d60be2f57599ca
 22: 00.55 00.44 PageListCache end save
 23: 00.55 00.44 PageListSort begin
 24: 00.55 00.44 PageListSort sort
 25: 00.55 00.44 PageListSort end
 26: 00.55 00.44 MakePageList end
 27: 00.55 00.44 FPLTemplate: FPLTemplateSliceList
 28: 00.55 00.44 FPLTemplate: FPLTemplateFormat
 29: 00.55 00.44 MarkupToHTML begin
 30: 00.55 00.45 MarkupToHTML end
 31: 00.55 00.45 FPLTemplate: Chain end
 32: 00.56 00.45 FPLTemplate: Chain begin
 33: 00.56 00.45 FPLTemplate: FPLTemplateLoad
 34: 00.56 00.46 FPLTemplate: FPLTemplateDefaults
 35: 00.56 00.46 FPLTemplate: FPLTemplatePageList
 36: 00.56 00.46 MakePageList pre
 37: 00.91 00.46 PageListSources begin
 38: 00.91 00.46 PageStore::ls begin wiki.d/{$FullName}
 39: 00.95 00.50 PageStore::ls merge wiki.d/{$FullName}
 40: 00.98 00.53 PageStore::ls end wiki.d/{$FullName}
 41: 00.99 00.53 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 42: 00.99 00.53 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 43: 00.99 00.53 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 44: 00.99 00.54 PageListSources end count=1015
 45: 00.99 00.54 PageListSort pre ret=4 order=name
 46: 00.99 00.54 MakePageList items count=1015, filters=PageListIf
 47: 01.29 00.83 MakePageList post count=3, readc=0
 48: 01.29 00.83 PageListCache begin save key=2aea3984e58b76ad817f7584d544ff04
 49: 01.29 00.83 PageListCache end save
 50: 01.29 00.83 PageListSort begin
 51: 01.29 00.83 PageListSort sort
 52: 01.29 00.83 PageListSort end
 53: 01.29 00.83 MakePageList end
 54: 01.29 00.83 FPLTemplate: FPLTemplateSliceList
 55: 01.29 00.83 FPLTemplate: FPLTemplateFormat
 56: 01.29 00.83 MarkupToHTML begin
 57: 01.30 00.84 MarkupToHTML end
 58: 01.30 00.84 FPLTemplate: Chain end
 59: 01.31 00.85 FPLTemplate: Chain begin
 60: 01.31 00.85 FPLTemplate: FPLTemplateLoad
 61: 01.31 00.85 FPLTemplate: FPLTemplateDefaults
 62: 01.31 00.85 FPLTemplate: FPLTemplatePageList
 63: 01.31 00.85 MakePageList pre
 64: 01.32 00.85 PageListSources begin
 65: 01.32 00.85 PageStore::ls begin wiki.d/{$FullName}
 66: 01.36 00.89 PageStore::ls merge wiki.d/{$FullName}
 67: 01.39 00.91 PageStore::ls end wiki.d/{$FullName}
 68: 01.39 00.92 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 69: 01.39 00.92 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 70: 01.39 00.92 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 71: 01.39 00.92 PageListSources end count=12
 72: 01.39 00.92 PageListSort pre ret=4 order=name
 73: 01.39 00.92 MakePageList items count=12, filters=PageListIf
 74: 01.40 00.92 MakePageList post count=2, readc=0
 75: 01.40 00.92 PageListCache begin save key=e0ac4444cdf39ee42d049b863282beba
 76: 01.40 00.92 PageListCache end save
 77: 01.40 00.92 PageListSort begin
 78: 01.40 00.92 PageListSort sort
 79: 01.40 00.92 PageListSort end
 80: 01.40 00.92 MakePageList end
 81: 01.40 00.92 FPLTemplate: FPLTemplateSliceList
 82: 01.40 00.92 FPLTemplate: FPLTemplateFormat
 83: 01.40 00.92 MarkupToHTML begin
 84: 01.40 00.93 MarkupToHTML end
 85: 01.40 00.93 FPLTemplate: Chain end
 86: 01.41 00.93 FPLTemplate: Chain begin
 87: 01.41 00.93 FPLTemplate: FPLTemplateLoad
 88: 01.41 00.94 FPLTemplate: FPLTemplateDefaults
 89: 01.41 00.94 FPLTemplate: FPLTemplatePageList
 90: 01.41 00.94 MakePageList pre
 91: 01.42 00.94 PageListSources begin
 92: 01.42 00.94 PageStore::ls begin wiki.d/{$FullName}
 93: 01.47 00.97 PageStore::ls merge wiki.d/{$FullName}
 94: 01.50 01.00 PageStore::ls end wiki.d/{$FullName}
 95: 01.50 01.00 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
 96: 01.50 01.00 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
 97: 01.50 01.01 PageStore::ls end $FarmD/wikilib.d/{$FullName}
 98: 01.50 01.01 PageListSources end count=12
 99: 01.50 01.01 PageListSort pre ret=4 order=name
100: 01.50 01.01 MakePageList items count=12, filters=PageListIf
101: 01.50 01.01 MakePageList post count=2, readc=0
102: 01.50 01.01 PageListCache begin save key=eaf25dce532aca46bfb6dd3abcd375d3
103: 01.50 01.01 PageListCache end save
104: 01.50 01.01 PageListSort begin
105: 01.50 01.01 PageListSort sort
106: 01.50 01.01 PageListSort end
107: 01.50 01.01 MakePageList end
108: 01.50 01.01 FPLTemplate: FPLTemplateSliceList
109: 01.50 01.01 FPLTemplate: FPLTemplateFormat
110: 01.51 01.01 MarkupToHTML begin
111: 01.51 01.01 MarkupToHTML end
112: 01.51 01.01 FPLTemplate: Chain end
113: 01.51 01.02 MarkupToHTML end
114: 01.52 01.03 MarkupToHTML begin
115: 01.57 01.07 MarkupToHTML end
116: 01.57 01.07 MarkupToHTML begin
117: 01.58 01.09 MarkupToHTML end
118: 01.59 01.09 now