[rt-users] Date formatting
Emmanuel Lacour
elacour at easter-eggs.com
Wed Oct 15 05:06:08 EDT 2014
Le 15/10/2014 10:40, Rinke Colen a écrit :
>
>
> OK, great. Problem is that my Perl knowledge is too small to fully
> understand the documentation on RT::Date or how to use the formatters
> it mentions. Could anyone give an example?
>
$Ticket->CreatedObj->LocalizedDateTime( DateFormat =>
'date_format_full', TImeFormat => 'time_format_full', AbbrDay => 0,
AbbrMonth => 0, Timezone => 'user' );
Montag, 19. Mai 2014 16:04:29
is not far thant what you want
else you have to write a custom method ...
--
Easter-eggs Spécialiste GNU/Linux
44-46 rue de l'Ouest - 75014 Paris - France - Métro Gaité
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com - http://www.easter-eggs.com
More information about the rt-users
mailing list