Bug#771261: locales: date_fmt appears to be wrong in es_ES and ca_ES
Package: locales
Version: 2.19-13
Severity: normal
Tags: l10n
Dear Maintainer,
Thanks for working in locales.
The "date_fmt" string in es_ES (and in ca_ES as one friend confirmed) appears
to produce a wrong order in the dates.
With the standard generated file (including the line date_fmt="%a %b %e
%H:%M:%S %Z %Y" )
$ date
vie nov 28 02:25:05 CET 2014
This looks wrong for es_ES (and ca_ES), the day of the month should go before
the name of the month.
$ date +"%a %e %b %H:%M:%S %Z %Y"
vie 28 nov 02:26:27 CET 2014
This is correct. So I suppose the date_fmt line should be changed from
date_fmt="%a %b %e %H:%M:%S %Z %Y"
to
date_fmt="%a %e %b %H:%M:%S %Z %Y"
I'm not sure if this is a problem of Debian or a problem in glibc in general. I
also don't know if other locales derived from "es" or "ca" are affected. But at
least, I can confirm that my proposal is correct for es_ES and ca_ES.
Below you can find the details about locale of my system.
Thank you very much
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
$ locale
LANG=es_ES.utf8
LANGUAGE=
LC_CTYPE="es_ES.utf8"
LC_NUMERIC="es_ES.utf8"
LC_TIME="es_ES.utf8"
LC_COLLATE="es_ES.utf8"
LC_MONETARY="es_ES.utf8"
LC_MESSAGES="es_ES.utf8"
LC_PAPER="es_ES.utf8"
LC_NAME="es_ES.utf8"
LC_ADDRESS="es_ES.utf8"
LC_TELEPHONE="es_ES.utf8"
LC_MEASUREMENT="es_ES.utf8"
LC_IDENTIFICATION="es_ES.utf8"
LC_ALL=
larjona@larjona-laptop:/usr/share/i18n/locales$ locale -k LC_TIME
abday="dom;lun;mar;mié;jue;vie;sáb"
day="domingo;lunes;martes;miércoles;jueves;viernes;sábado"
abmon="ene;feb;mar;abr;may;jun;jul;ago;sep;oct;nov;dic"
mon="enero;febrero;marzo;abril;mayo;junio;julio;agosto;septiembre;octubre;noviembre;diciembre"
am_pm=";"
d_t_fmt="%a %d %b %Y %T %Z"
d_fmt="%d/%m/%y"
t_fmt="%T"
t_fmt_ampm=""
era=
era_year=""
era_d_fmt=""
alt_digits=
era_d_t_fmt=""
era_t_fmt=""
time-era-num-entries=0
time-era-entries="d"
week-ndays=7
week-1stday=19971130
week-1stweek=5
first_weekday=2
first_workday=2
cal_direction=1
timezone=""
date_fmt="%a %b %e %H:%M:%S %Z %Y"
time-codeset="UTF-8"
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages locales depends on:
ii debconf [debconf-2.0] 1.5.53
ii libc6 [glibc-2.19-1] 2.19-13
locales recommends no packages.
locales suggests no packages.
-- debconf information:
locales/default_environment_locale: None
locales/locales_to_be_generated: es_ES.UTF-8 UTF-8
Reply to: