I asked this a while ago and became very frustrated when there was no
obvious locale supporting the international standard of yyyy-mm-dd.
However I did get an answer eventually and it turns out to be contained
in a locale created as a bit of a joke - en_DK - English Denmark!
--
David P. James
4th Year Economics Student
Queen's University
Kingston, Ontario
http://members.rogers.com/dpjames/
The bureaucratic mentality is the only constant in the universe.
-Dr. Leonard McCoy, Star Trek IV
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
I've juste generated it with
localedef -c -i en_DK /usr/share/locale/en_DK
(I hope this is correct), but this doesn't change anything:
$ LC_ALL=en_DK date +%x
11/05/02
Before that, I tried with i18n since /usr/share/i18n/locales/i18n
contains:
% Date formats following ISO 8601
% Appropriate date and time representation (%c)
% "%F %T"
d_t_fmt "<U0025><U0046><U0020><U0025><U0054>"
%
% Appropriate date representation (%x) "%F"
d_fmt "<U0025><U0046>"
%
% Appropriate time representation (%X) "%T"
t_fmt "<U0025><U0054>"
t_fmt_ampm ""
But same problem.
--
Vincent Lefèvre <vin...@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Steve
--
The trouble is, there is an endless supply of White Men, but there has
always been a limited number of Human Beings.
-- Little Big Man
Thanks, this works.
BTW, how about an iso8601 alias for en_DK or something like that?
>On Mon, Nov 04, 2002 at 20:56:06 -0500, Stephen Gran wrote:
>> dpkg-reconfigure locales, select the local you want, and try it again.
>> Set LC_TIME to that locale, and it should work.
>
>Thanks, this works.
>
>BTW, how about an iso8601 alias for en_DK or something like that?
I think it should be called international, standard, world, earth,
tellus or something like that :-). Or, if you insist of following
the established pattern, en_STD or en_INT. I don't like en_ISO
though.
English, metric, iso dates, A4, decimal point. In short, the right thing.
--
Fredrik Stax\"ang | rot13: sf...@hcqngr.hh.fr