I'm trying to get

%x    the date, using the locale's date format

to show dates as DD/MM/YYYY, but I can only get MM/DD/YYYY. I've
(attempted to) set my locale appropriately for en_AU, and also tried
en_GB in case that made a difference. Running 6.0 generic. Is there
something I'm missing or a way to make this so?

I've tried tweaking LC_TIME and LC_ALL both.

$ locale
LANG=en_AU.UTF-8
LC_COLLATE="C"
LC_CTYPE="en_AU.UTF-8"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME=en_AU.UTF-8
LC_MESSAGES="en_AU.UTF-8"
LC_ALL=
$ date
Tue Jan 17 16:18:31 AEDT 2017
$ date +%x
01/17/17
$ ls -l /etc/localtime
lrwxr-xr-x  1 root  wheel  39 Oct  5 11:55 /etc/localtime@ ->
/usr/share/zoneinfo/Australia/Melbourne
$

All clues greatly appreciated.

Thanks,
tom

Reply via email to