This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [RFC][PATCH v5 01/13] Implement alternative month names (bug 10871).


31.12.2016 18:19 Zack Weinberg <zackw@panix.com> wrote:
>
>
> On Fri, Dec 30, 2016 at 4:32 PM, Rafal Luzynski
> <digitalfreak@lingonborough.com> wrote:
> >
> > Now I'm thinking about another thing: I still wonder if abbreviated
> > months names (ABMON and %b) should also have their alternative
> > (nominative/genitive) form.
>
> Yes, yes they should. To be honest I had assumed your patch already
> did that. (The май/мая example is sufficient evidence that it's
> needed.)

No, my patches so far have not done it.  I was misled by my native
language where the same phenomenon exists but abbreviations cut
the declension suffixes so all abbreviations look the same, no matter
if they are nominative or genitive or anything else.  Also nobody
complained that it's missing.  Also I doubted if it would ever be
useful until I started processing all locales from CLDR and noticed
in Belorussian first and in other languages later.  Also the reason
below:

>
> > So far I'm not aware of any implementation of
> > strftime() supporting this so if that's ever implemented it will
> > be purely GNU-only extension.
>
> That's OK. It'll probably get picked up by others once demonstrated
> to be needed.

Sounds OK for me. I will have to add:

- _NL_ABALTMON_1..12, _NL_WABALTMON_1..12 parameters of nl_langinfo();
- add ab_alt_mon (abalt_mon? abaltmon?) section to the locale database
  definition - can anybody please advise me which name would be the best
  for this section?
- add %Ob support to strftime() family;
- make sure %Ob is supported by strptime() family.

I'm sorry for not finalizing it before the freeze.  My time resources
are limited.  However, anyone is welcome to rework my patches.

Regards,

Rafal


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