From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7E0AF395CCA1; Thu, 12 Mar 2020 02:37:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E0AF395CCA1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1583980640; bh=LYc/7OV8b0nrmRQ54AmNldp3RsXYF5rAfrfx+T+KTVM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=N5HP41BZ1k5IvniTIq0Ej3l2n9zAVsu+LvaEoAoffg7z4BITK6l4NLWNY0VA34ann boQnAvaTb9BM1xyIMEjlm7bYlFFr/PuOZoLulI20rjTyiKHhKDq5TTl/CHp9gRLrbt SoEsrT6uTVWaEQmpt5TQLTEIsHIbGeUDsQIUKlic= From: "sourceware at nerdbynature dot de" To: libc-locales@sourceware.org Subject: [Bug localedata/24046] en_US locale doesn't define date_fmt Date: Thu, 12 Mar 2020 02:37:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sourceware at nerdbynature dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.29 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: libc-locales@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-locales mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2020 02:37:20 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24046 CK changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sourceware at nerdbynature= dot de --- Comment #8 from CK --- Hm, is this really fixed? Even with glibc 2.29 and newer I have trouble get= ting a 24 hour time output: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D $ /lib/x86_64-linux-gnu/libc.so.6 | head -1 GNU C Library (Debian GLIBC 2.29-10) stable release version 2.29. $ export LC_TIME=3DC $ date; date +%c; date +%X Wed 11 Mar 2020 07:01:50 PM PDT Wed 11 Mar 2020 07:01:50 PM PDT 07:01:50 PM =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D Setting "LC_TIME" to different values (en_GB, de_DE) doesn't help, although= the locale definitions would be available: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D $ strace -e openat -f date=20 openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) =3D 3 openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) =3D 3 openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) =3D 3 openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) =3D 3 Wed 11 Mar 2020 07:09:08 PM PDT +++ exited with 0 +++ $ strings /usr/lib/locale/locale-archive | grep en_GB en_GB.iso88591 en_GB en_GB.utf8 en_GB.iso885915 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D Same result when setting every other LC_* variable to "C" or "en_GB" -- only LC_ALL=3Den_GB did the trick. The same for two other systems, both running = glibc 2.30. Only some glibc 2.31 system appears to do The Right Thing: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D $ LC_TIME=3DC date Wed Mar 11 18:46:37 PDT 2020 $ LC_TIME=3Den_US date Wed 11 Mar 2020 06:46:48 PM PDT $ LC_TIME=3Den_GB date Wed Mar 11 18:46:54 PDT 2020 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D Could this be related to commit 75ba929987 ("Multiple locales: Add date_fmt (bug 24054)") perhaps? --=20 You are receiving this mail because: You are on the CC list for the bug.=