[rt-users] Query by age
Brook Schofield
B.Schofield at mailbox.gu.edu.au
Wed Dec 18 19:35:37 EST 2002
At 10:18 AM 19/12/2002 +1000, Phil Homewood wrote:
>Chris Mason wrote:
> > Is there a way to use relative times in a search, i.e., "Last Updated
> > before 13 hours ago"
> >
> > I know this doesn't work, I tried it, but it would be useful to be able
> > to bookmark a query that showed all tickets that were stale.
>
>This would, however, be a useful thing. Anyone know of a module
>which does Date::Parse type stuff but accepts relative times as
>well? I don't see anything obvious on CPAN....
Chris + Phil,
Time::ParseDate should do the trick.
http://search.cpan.org/author/MUIR/Time-modules-2002.1001/lib/Time/ParseDate.pm
-Brook
=========================================================================
= _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/ Brook Schofield =
= _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ B.Schofield at mailbox.gu.edu.au =
= _/_/ _/_/_/ _/ _/ _/ _/ _/_/ Ph: +61 7 387 53779 - WCN 0.28 =
= _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ Directory Services Integration =
= _/_/_/ _/ _/ _/_/_/ _/_/_/ _/ _/ Griffith University QLD 4111 =
=========================================================================
More information about the rt-users
mailing list