Remy Blank wrote:

> Peter Ruskin wrote:
> > On Tuesday 05 September 2006 13:17, Remy Blank wrote:
> >> I couldn't find an
> >> english locale that displays the date as dd.mm.yyyy (though I
> >> didn't look for all too long).
> > 
> > $ date
> > Tue Sep  5 14:02:19 BST 2006
> > $ echo $LC_TIME
> > en_GB.utf8
> 
> I meant:
> 
> $ LC_TIME=en_US date +%x
> 09/05/2006
> 
> But as Neil already pointed out, en_GB has it the other way round, i.e.
> it would print 05/09/06 (I would still prefer 05.09.2006). I just
> noticed fr_CH is bad, too: 05. 09. 06 (why do they have these spaces in
> there?), de_CH is quite ok: 2006-09-05. But you still get the day and
> month names in the respective languages.

# egrep "^en" /usr/share/i18n/SUPPORTED >>/etc/locale.gen
# locale-gen
...

# locale -a|grep en|while read loc ; do 
   LC_TIME="$loc" date "+$loc: %A %x"; 
  done | grep Tuesday | grep 05.09.2006

en_BW: Tuesday 05/09/2006
en_BW.utf8: Tuesday 05/09/2006
en_ZA: Tuesday 05/09/2006
en_ZA.utf8: Tuesday 05/09/2006
en_ZW: Tuesday 05/09/2006
en_ZW.utf8: Tuesday 05/09/2006

Alas, no dots.

Regards...
                Michael
-- 
[email protected] mailing list

Reply via email to