From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76155 invoked by alias); 2 Aug 2017 13:34:23 -0000 Mailing-List: contact libc-locales-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-locales-owner@sourceware.org Received: (qmail 70417 invoked by uid 48); 2 Aug 2017 13:34:17 -0000 From: "yjf.victor at foxmail dot com" To: libc-locales@sourceware.org Subject: [Bug localedata/4628] Provide rump locales with ISO 8601 variants for use with LC_TIME Date: Wed, 02 Aug 2017 13:57:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yjf.victor at foxmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: libc-locales at sourceware dot org X-Bugzilla-Target-Milestone: --- 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-SW-Source: 2017-q3/txt/msg00371.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D4628 yjf.victor at foxmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yjf.victor at foxmail dot = com --- Comment #18 from yjf.victor at foxmail dot com --- This feature is pretty important actually. For many Asian companies, we hav= e to set the date format to yyyy-mm-dd (or maybe yyyy=E5=B9=B4mm=E6=9C=88dd=E6= =97=A5) while sending announcement, even when the announcement is in English language, such as so= me international companies. Thus, it would be better to set the LC_TIME to ISO 8601 or RFC 3339 compatible format. Currently, we set our date format to yyyy-MM-dd on Windows, and on Linux, t= he "date" command is set as an alias, alias date=3D'date --rfc-3339=3Dseconds'= . I believe it would be better if we can set LC_TIME to something like "C@iso86= 01" or maybe "POSIX@iso8601". As for the format control of weekday name (%a) month name (%b) when you set LC_TIME to C@iso8601, weekday name could be simply 0-6 (for Sunday to Saturday), and month name could be the same as the month number, i.e. 1-12 = (for January to December). As a result, It isn't so difficult to have this local= e. --=20 You are receiving this mail because: You are the assignee for the bug.