Hi,

[Disclaimer not the maintainer here]

On Wed, Sep 11, 2019 at 12:45:07AM +0200, Witold Baryluk wrote:
> Package: coreutils
> Version: 8.30-3+b1
> Severity: normal
> 
> Dear Maintainer,
> 
> I don't know exactly how to formulate the problem, but this certainly feels 
> wrong:
> 
> user@debian:~$ echo $TZ $TZNAME; ls -l /etc/localtime ; cat /etc/timezone ; 
> date; TZ=Europe/Zurich date; date --iso-8601=seconds; date --rfc-333=seconds; 
> date --rfc-email; date;
> 
> lrwxrwxrwx 1 root root 33 Sep 11 00:01 /etc/localtime -> 
> /usr/share/zoneinfo/Europe/Zurich
> Europe/Zurich
> Wed 11 Sep 2019 12:42:33 AM CEST
> Wed 11 Sep 2019 12:42:33 AM CEST
> 2019-09-11T00:42:33+02:00
> 2019-09-11 00:42:33+02:00
> Wed, 11 Sep 2019 00:42:33 +0200
> Wed 11 Sep 2019 12:42:33 AM CEST
> user@debian:~$ 
> 
> 
> Nobody writes "12:42 AM" in Europe. In fact it might be a bug in date.
> Because I think most people would interpret 12:42 AM, as just 12:42, not
> 00:42.
> 
> I think it should be one of these three instead:
> 
> Wed 11 Sep 2019 00:42:33 AM CEST
> Wed 10 Sep 2019 12:42:33 PM CEST   // yes, PM
> Wed 11 Sep 2019 00:42:33 CEST   // 24 hour format, without silly AM, PM.

This is related to https://bugs.debian.org/877900 . Youve have
according to:

> Kernel: Linux 5.2.0-2-amd64 (SMP w/32 CPU cores)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
> TAINT_UNSIGNED_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
> LANGUAGE=en_US.UTF-8 (charmap=UTF-8)

set en_US.UTF-8 locales, thus LC_TIME to en_US.UTF-8. This was to some
extend discussed as well on debian-devel recenty around this thread:

https://lists.debian.org/debian-devel/2019/02/msg00092.html

Regards,
Salvatore

Reply via email to