[Rt-devel] Ticket Search in the future with relative time

Kevin Falcone falcone at bestpractical.com
Fri Sep 9 12:19:22 EDT 2011


On Fri, Sep 09, 2011 at 05:13:21PM +0200, Simone Sanna wrote:
>    Hi List,
>    Is there any way I could search for tickets with a particular relative date placed in the
>    future?
>    I mean the following works for the relative search in the past Queue = 'Particular_Queue' AND
>    DateCustomField > '540 min ago' while this one seems to be accepted but does not give the
>    expected result Queue = 'Particular_Queue' AND DateCustomField < 'now() + 3 hours' - the same
>    applies to - Queue = 'Particular_Queue' AND DateCustomField < 'next + 3 hours'.

RT uses the Time::ParseDate module to parse dates, so any syntax that
it supports will work:

https://metacpan.org/module/Time::ParseDate

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20110909/fb9dc3bd/attachment.pgp>


More information about the rt-devel mailing list