Bug#663203: locales: date_fmt appears to be wrong in the en_AU locale
Package: locales
Version: 2.13-27
Severity: normal
Some details from my console:
Fri Mar 09 ~
$ locale
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
LC_CTYPE="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_PAPER="en_AU.UTF-8"
LC_NAME="en_AU.UTF-8"
LC_ADDRESS="en_AU.UTF-8"
LC_TELEPHONE="en_AU.UTF-8"
LC_MEASUREMENT="en_AU.UTF-8"
LC_IDENTIFICATION="en_AU.UTF-8"
LC_ALL=
Fri Mar 09 ~
$ locale -k 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"
am_pm="AM;PM"
d_t_fmt="%a %d %b %Y %T %Z"
d_fmt="%d/%m/%y"
t_fmt="%T"
t_fmt_ampm="%I:%M:%S %p"
era=
era_year=""
era_d_fmt=""
alt_digits=
era_d_t_fmt=""
era_t_fmt=""
time-era-num-entries=0
time-era-entries="S"
week-ndays=7
week-1stday=19971130
week-1stweek=0
first_weekday=1
first_workday=2
cal_direction=1
timezone=""
date_fmt="%a %b %e %H:%M:%S %Z %Y"
time-codeset="UTF-8"
Fri Mar 09 ~
$
d_t_fmt seems correct when I use it with the date format:
Fri Mar 09 ~
$ date +"%a %d %b %Y %T %Z"
Fri 09 Mar 2012 23:19:06 EST
However date_fmt appears to be incorrect:
Fri Mar 09 ~
$ date +"%a %b %e %H:%M:%S %Z %Y"
Fri Mar 9 23:20:12 EST 2012
You can review the common format of australia time at: https://en.wikipedia.org/wiki/Date_and_time_notation_in_Australia if it helps.
Thanks for your time.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (750, 'stable'), (700, 'oldstable'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages locales depends on:
ii debconf [debconf-2.0] 1.5.41
ii libc6 [glibc-2.13-1] 2.13-27
locales recommends no packages.
locales suggests no packages.
-- debconf information:
* locales/default_environment_locale: en_AU.UTF-8
* locales/locales_to_be_generated: en_AU.UTF-8 UTF-8
Reply to: