
falcone at bestpractical
Sep 9, 2011, 9:19 AM
Post #2 of 2
(399 views)
Permalink
|
|
Re: Ticket Search in the future with relative time
[In reply to]
|
|
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
|