mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "writeonce@midipix.org" <writeonce@midipix.org>
To: musl@lists.openwall.com
Subject: Re: Locale bikeshed time
Date: Wed, 23 Jul 2014 19:22:49 -0400	[thread overview]
Message-ID: <53D043C9.8020102@midipix.org> (raw)
In-Reply-To: <20140723163907.GC11570@brightrain.aerifal.cx>

On 07/23/2014 12:39 PM, Rich Felker wrote:
> On that topic, while this is a matter outside my control for 
> individual users, my preference would be that the official musl-locale 
> data attempt to avoid multiple variants/modifiers and legacy options 
> if possible. For example I would like to see the numeric date format 
> be ISO format in all locales, with traditional formats only where the 
> natural-language string representations for months/days are included 
> (and I say this as someone coming from one of the locales, i.e. US, 
> where the traditional numeric date format is non-ISO). In keeping with 
> the principle that musl is "modern" I'd like to prefer modern cultural 
> conventions to historical ones.
For what it's worth, I wanted to point out that the ISO C explicitly 
pertains to the Gregorian calendar only, albeit in parenthesis (N1570, 
7.27.1).  For users of [listed in alphabetical order:] Arabic, Chinese, 
Hebrew, Japanese, Persian, and Tibetan, for instance, there are two 
different issues at stake: the first is the representation of the date 
according to the Gregorian calendar in one's own language, which could 
(~easily~) be made "modern" (ISO compliant), whereas the second is the 
representation of the date according to the culture's native calendar in 
the language matching the current locale.

While I'm not necessary suggesting that musl (or any other libc, for 
that matter) should implement the conversion functions from the 
Gregorian calendar to other calendars and vice versa, it would be nice 
if at least the prototypes of the conversion functions were somehow 
standardized, and also if the locale files likewise accounted for the 
above issues (e.g. in the form of placeholders).

PS. speaking of historical vs. modern and LC_MONETARY, we should 
probably bear in mind the many locale variants that are based on 
currency only, as for example in the case of EU member countries before 
and after the Euro.

zg



  parent reply	other threads:[~2014-07-23 23:22 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 18:49 Rich Felker
2014-07-22 20:10 ` u-igbb
2014-07-22 20:35   ` Rich Felker
2014-07-23  9:50     ` u-igbb
2014-07-23 16:39       ` Rich Felker
2014-07-23 19:25         ` u-igbb
2014-07-23 21:01           ` Rich Felker
2014-07-24 15:35             ` u-igbb
2014-07-24 16:01               ` Rich Felker
2014-07-24 19:24                 ` u-igbb
2014-07-24 20:15                 ` u-igbb
2014-07-24 22:02                   ` Rich Felker
2014-07-25  9:06                     ` u-igbb
2014-07-25 20:15                       ` u-igbb
2014-07-25 22:32                         ` Rich Felker
2014-07-26  7:25                           ` u-igbb
2014-07-26  8:03                             ` Rich Felker
2014-07-26  9:06                               ` Jens Gustedt
2014-07-26  9:25                                 ` Rich Felker
2014-07-26  9:38                               ` u-igbb
2014-07-26 17:47                                 ` Szabolcs Nagy
2014-07-26 18:23                                   ` Rich Felker
2014-07-26 18:59                                     ` u-igbb
2014-07-26 19:14                                       ` Rich Felker
2014-07-26 18:56                                   ` u-igbb
2014-07-26 19:30                                     ` Rich Felker
2014-07-27  7:28                                       ` u-igbb
2014-07-26 20:43                         ` Rich Felker
2014-07-27  7:51                           ` u-igbb
2014-07-27  8:00                             ` Rich Felker
2014-07-27  8:24                               ` u-igbb
2014-07-23 23:22         ` writeonce [this message]
2014-07-23 23:38           ` Rich Felker
2014-07-24  1:07             ` writeonce
2014-07-24  1:57               ` Rich Felker
2014-07-24  2:16                 ` writeonce
2014-07-24  2:24                   ` Rich Felker
2014-07-24  2:59                     ` writeonce
2014-07-22 20:17 ` Laurent Bercot
2014-07-22 20:36   ` Rich Felker
2014-07-23 22:03     ` Laurent Bercot
2014-07-23 22:12       ` Rich Felker
2014-07-24 15:38         ` u-igbb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D043C9.8020102@midipix.org \
    --to=writeonce@midipix.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).