RenardBleu has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
i try to get the date displayed according to the client language. This code
Thanx in advance
works fine for fr_FR and en_US but returns the fr_FR version for de_DE or other codes. (fr_FR is the system default) Do you guys know what i do wrong ?[% USE date(format = '%A %d %B %Y %H:%M', locale = 'en_US') %] [% date.format %]
Thanx in advance
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: locale for date in Template Toolkit
by hippo (Bishop) on Feb 19, 2014 at 15:11 UTC | |
by RenardBleu (Sexton) on Feb 19, 2014 at 16:39 UTC | |
Re: locale for date in Template Toolkit
by sundialsvc4 (Abbot) on Feb 19, 2014 at 16:03 UTC | |
by RenardBleu (Sexton) on Feb 20, 2014 at 12:56 UTC | |
by Anonymous Monk on Feb 19, 2014 at 18:29 UTC | |
by sundialsvc4 (Abbot) on Feb 20, 2014 at 15:25 UTC |
Back to
Seekers of Perl Wisdom