This is the mail archive of the libc-locales@sourceware.org mailing list for the GNU libc locales project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/4628] Provide rump locales with ISO 8601 variants for use with LC_TIME


https://sourceware.org/bugzilla/show_bug.cgi?id=4628

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 have to
set the date format to yyyy-mm-dd (or maybe yyyy年mm月dd日) while sending
announcement, even when the announcement is in English language, such as some
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, the
"date" command is set as an alias, alias date='date --rfc-3339=seconds'. I
believe it would be better if we can set LC_TIME to something like "C@iso8601"
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 locale.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]