[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Show me locale fomats



On Tue, Jun 23, 2009 at 17:52:01 +0100, Roger Leigh wrote:
> On Tue, Jun 23, 2009 at 07:24:54PM +0300, Dotan Cohen wrote:

[...]

> > I see, thanks. Other than changing my locale to a foreign locale
> > (well, ok, US is a foreign locale for me but there is a reason that I
> > keep it), is there a way to configure yyyy-mm-dd date format?

[...]

> Note that if you only want to customise the date for the locale, just
> set LC_TIME=en_GB or whatever you like.  The rest of the locale will
> remain the same; only date/time formatting is changed.

To find out which locales on your system have the yyyy-mm-dd date
format, run:

grep ^d_fmt /usr/share/i18n/locales/* | ascii2uni -qaA | grep '%Y-%m-%d'

(ascii2uni is part of the uni2ascii package)

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: