[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771261: marked as done (locales: date_fmt appears to be wrong in es_ES and ca_ES)



Your message dated Sun, 5 Sep 2021 00:49:01 +0200
with message-id <YTP33Q76yQGJpvTZ@aurel32.net>
and subject line Bug#771261: locales: date_fmt appears to be wrong in es_ES and ca_ES
has caused the Debian Bug report #771261,
regarding locales: date_fmt appears to be wrong in es_ES and ca_ES
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
771261: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771261
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 2.31-0experimental0

Hi,

On 2014-11-28 02:32, Laura Arjona Reina wrote:
> 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.

This issue has been fixed upstream for both es_ES and ca_ES locales
(actually many more) in the following commit:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=75ba929987f6950dd008ef0f6270f1b21e9af511

This commit went into glibc package version 2.31-0experimental0 and is
included in Bullseye. I am therefore closing the bug accordingly.

Regards,
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

--- End Message ---

Reply to: