Page 1 of 1

Syntax error in Wiki sample 'date string'

Posted: Wed Jan 28, 2009 4:47 pm
by sniz
I would like to direct your attention to section 7.6.1 Relative items in date strings. There you will see, after an informative description of the ways 'relative' dates can be indicated, a sample string is offered intending to indicate events older than 30 days as:

Code: Select all

[and <Date> <greater_than> -30 days]

Unfortunately, as written, this string will indicate the exact opposite, or, events within the last 30 days. And it will do so over, and over, and over again. For at least 45 minutes (and quite possibly longer than that).

However, (relative) joy can be found with the string written as:

Code: Select all


[and <Date> <less_than> -30 days]

as it will indicate events older than 30 days, each and every time.