[rt-users] Relative Date Search Help - current week(end)?

Kevin Falcone falcone at bestpractical.com
Tue Feb 18 13:58:22 EST 2014


On Tue, Feb 18, 2014 at 07:39:41AM -0800, drhamilton11 wrote:
> Doing a custom search and could use some help.  We are using a custom search
> field (date/time) and trying to do a search for anything for the current
> weekend.  Tried using logic such as 'friday after last' and other things,
> but no luck. 
> 
> Trying to set up some dashboards so when viewed, it'll show tickets for the
> current weekend.  Best I got so far was > 'last sunday' AND < 'next monday'. 
> That at least shows the current week, but I need ONLY the weekend. 

We use this module
https://metacpan.org/pod/Time::ParseDate#DATE-FORMATS-RECOGNIZED

That's what is supports.

You may want to play with
http://bestpractical.com/docs/rt/latest/RT_Config.html#AmbiguousDayInPast-AmbiguousDayInFuture

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140218/203ffa54/attachment.sig>


More information about the rt-users mailing list