Recent Changes - Search:

PITS main list

edit sidebar

Main sidebar

PmWiki

pmwiki.org

01125

Summary: pagelist output incorrect when using if="date YYYYMMDD..YYYYMMDD {=$Name}"
Created: 2009-07-24 10:28
Status: Closed - fixed for 2.2.6
Category: Bug
Assigned:
Priority: 5
Version:
OS:

Description:
pagelist output appears to be incorrect when using the if="date YYYYMMDD..YYYYMMDD {=$Name}" argument - the purpose of this argument is to check to see if the current page (named in the format YYYYMMDD, and used for calendar events) is within the range YYYYMMDD..YYYYMMDD. at present, the following code seems to include the appropriate pagenames within the specified range PLUS one extra day outside the end of the range. for instance:

current existing event pages in this group Test (on the PmWiki server):
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 one extra day at the end:

a Test page has been created for experimentation: http://pmwiki.org/wiki/Test/PagelistDateError

overtones99 July 23, 2009, at 05:23 PM

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:56 AM