How does rt --limit-last-updated work?

I don’t understand how to construct my date range for
–limit-last-updated.

     --limit-last-updated=[starts][-][ends]
         starts and ends are dates.  starts can not be less than ends

Can someone help?

matthew zeier - “In mathematics you don’t understand things. You just
get used to them.” - John von Newmann

6/21/2001-6/23/2001 should certainly work.On Mon, Sep 17, 2001 at 01:56:17PM -0700, matthew zeier wrote:

I don’t understand how to construct my date range for
–limit-last-updated.

     --limit-last-updated=[starts][-][ends]
         starts and ends are dates.  starts can not be less than ends

Can someone help?


matthew zeier - “In mathematics you don’t understand things. You just
get used to them.” - John von Newmann


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Is there an easy way to set the default date handling to European
format (ie dd/mm/yy) rather than US (mm/dd/yy)? Although I realise
that the system can munge most date formats, the European/US formats
are ambiguous most of the time.

(4/3/01 is 4th March in Europe, and 3rd April in US).

Ideally it would take the format from the system locale, but it
doesn’t seem to.

Cheers,

Joel

Joel Smith
22 Springfield Way
Pateley Bridge Tel: +44 1423 711229 Mobile: +44 7768 803758
N.Yorks HG3 5PA Fax: +44 870 1617192

Not currently easy, as we use Date::Parse. I’m looking
at switching to Time::ParseDate in a future release, which will make this
much easier.

-jOn Wed, Sep 19, 2001 at 10:46:41AM +0100, Joel Smith wrote:

Is there an easy way to set the default date handling to European
format (ie dd/mm/yy) rather than US (mm/dd/yy)? Although I realise
that the system can munge most date formats, the European/US formats
are ambiguous most of the time.

(4/3/01 is 4th March in Europe, and 3rd April in US).

Ideally it would take the format from the system locale, but it
doesn’t seem to.

Cheers,

Joel

Joel Smith
22 Springfield Way
Pateley Bridge Tel: +44 1423 711229 Mobile: +44 7768 803758
N.Yorks HG3 5PA Fax: +44 870 1617192


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Maybe I’m not understanding what this is supposed to do:

mrz@irv1-core [~/] 64>
/opt/rt2/bin/rt --limit-owner=mrz --summary --limit-status=open --limit-stat
us=new --limit-last-updated=09/01/2001-09/20/2001
id Stat Queue Subject
Requestor
59 new
83 open
111 open
244 open
280 open
284 new
288 new
308 open
311 new

However,

mysql> select LastUpdated from Tickets where id = 59;
| LastUpdated |
| 2001-08-07 16:39:27 |

I would have figured to only see tickets within that date range. What’d I
do wrong?

6/21/2001-6/23/2001 should certainly work.

I don’t understand how to construct my date range for
–limit-last-updated.

     --limit-last-updated=[starts][-][ends]
         starts and ends are dates.  starts can not be less than

ends

Jesse,

Has there been any development in this regard?

Is there a easy way in the meantime to NOT accept mm/dd/yyyy (to avoid confusion, since SA follows European time format), and thus only yyyy/mm/dd?

Regards,
RehanFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Wednesday, September 19, 2001 5:41 PM
To: Joel Smith
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] European date format

Not currently easy, as we use Date::Parse. I’m looking
at switching to Time::ParseDate in a future release, which will make this
much easier.

-j