I'm on resolute, and I just tested this:
$ date +%x
11/13/26
Unfortunately that date format isn't correct for my locale, which is
en_NZ.
/usr/share/i18n/locales/en_NZ contains:
-----
LC_TIME
copy "en_AU"
END LC_TIME
-----
And /usr/share/i18n/locales/en_AU contains:
-----
LC_TIME
abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat"
day "Sunday";/
"Monday";/
"Tuesday";/
"Wednesday";/
"Thursday";/
"Friday";/
"Saturday"
abmon "Jan";"Feb";/
"Mar";"Apr";/
"May";"Jun";/
"Jul";"Aug";/
"Sep";"Oct";/
"Nov";"Dec"
mon "January";/
"February";/
"March";/
"April";/
"May";/
"June";/
"July";/
"August";/
"September";/
"October";/
"November";/
"December"
d_t_fmt "%a %d %b %Y %T"
date_fmt "%a %d %b %Y %T %Z"
d_fmt "%d//%m//%y"
t_fmt "%T"
am_pm "AM";"PM"
t_fmt_ampm "%I:%M:%S %p"
week 7;19971130;1
first_weekday 2
END LC_TIME
-----
So I was expecting to see the date in dd/mm/yy format, which would have
been "13/11/26", not "11/13/26".
I also cloned the Git repo and tested using the latest source, but that
gave the same result.
So it looks like the fix isn't 100% effective? But please let me know if
I'm doing something wrong?
Thanks,
Nick.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137410
Title:
"date +%x" output is wrong
To manage notifications about this bug go to:
https://bugs.launchpad.net/rust-coreutils/+bug/2137410/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs