RT2 - Dates in Euro format

Hi, any clues or has anyone modified RT to work with dates entered in
dd/mm/yy or yyyy format? This is my next big problem. Getting users to enter
dates in any other format will be impossible!

Regards

Fred

************** IMPORTANT MESSAGE **************
This e-mail message is intended only for the addressee(s) and contains information which may be confidential. If you are not the intended recipient please advise the sender by return email, do not use or disclose the contents, and delete the message and any attachments from your system. Unless specifically indicated, this email does not constitute formal advice or commitment by the sender or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries.

Hi, any clues or has anyone modified RT to work with dates entered
in dd/mm/yy or yyyy format? This is my next big problem. Getting
users to enter dates in any other format will be impossible!

Fred:

RT uses Time::ParseDate for its date formats:

http://search.cpan.org/author/MUIR/Time-modules-2003.0211/lib/Time/ParseDate.pm

if you look at the code:

    my $date = Time::ParseDate::parsedate($args{'Value'},
                    UK => $RT::DateDayBeforeMonth,
                    PREFER_PAST => $RT::AmbiguousDayInPast,
                    PREFER_FUTURE => !($RT::AmbiguousDayInPast));

so you’ll need to set $RT::DateBayBeforeMonth in your etc/RT_SiteConfig.pm
file.

-Brook

Brook Schofield
Senior Software Engineer
Information and Communication Technology Services
Griffith University 4111 Australia

b.schofield@griffith.edu.au
Phone: +61 (0)7 387 53779