Action searches fail on my ssytem when specifying a
relative instead of an absolute closing date. For reference I copy my search entry below:
%ACTIONSEARCH{state="closed" web="Orbspace|Infinity" header="|Closed|Who|Closer|Description|" format="|$closed| $who | $closer |$text|" sort="closed, who" }%
This entry works well because no "closed" search tag is given yet.
It also works if I specify an absolute "closed" date, e.g. closed="27 sep 2006".
If I specify however a relative "closed" date such as closed="yesterday", closed="last week", etc. no search result is obtained.
Anyone who could help me?
The first thing is that when searching a date range you have to use a comparison op. In this case, ">yesterday" would appear to make sense. However
yesterday
to
Time::ParseDate
means
now - 24 hours
. Since an absolute date matches midnight on the day in question, an action closed midnight yesterday will never match "yesterday".
I would recommend you use
closed=">now - 2 days"
.
Not a bug. Discarded.
CC