Syntax error in Wiki sample 'date string'

This is the place for any problems or issues with the website in general or the new forums in particular.
Post Reply
sniz
Posts: 11
Joined: Wed Oct 29, 2008 10:57 pm

Syntax error in Wiki sample 'date string'

Post 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.
Post Reply