This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH v2 3/6] Implement the %OB specifier - alternative month names (bug 10871)
- From: Carlos O'Donell <carlos at redhat dot com>
- To: Rafal Luzynski <digitalfreak at lingonborough dot com>, libc-alpha at sourceware dot org
- Date: Tue, 29 Mar 2016 10:15:31 -0400
- Subject: Re: [RFC][PATCH v2 3/6] Implement the %OB specifier - alternative month names (bug 10871)
- Authentication-results: sourceware.org; auth=none
- References: <1155243857 dot 420233 dot 60a90901-4334-4cea-aa99-f76884316a10 dot open-xchange at poczta dot nazwa dot pl>
On 03/24/2016 08:55 PM, Rafal Luzynski wrote:
> Some languages (Slavic, Baltic, etc.) require a genitive case of the
> month name when formatting a full date (with the day number) while
> they require a nominative case when referring to the month standalone.
>
> strftime() now implements a %OB format specifier which generates an
> alternative month name. For the languages which require both nominative
> and genitive case of the month names it is expected that it outputs
> the alternative month name which should be a nominative (sic!) case
> or whatever is appropriate when formatting the month names standalone
> (without a day). For those languages %B will return the basic month
> name but from now it is expected to be a genitive case or whatever is
> appropriate when formatting full dates (including both day and month).
> This means that all applications using %B to retrieve the month
> name standalone should use %OB from now. For those languages which
> do not use different (nominative and genitive) cases of the month
> name or do not yet have their locales updated %OB will retrieve
> the same string as %B so moving to %OB will be harmless as long
> as the version of glibc which supports this feature is used.
>
> strptime() now accepts both nominative and genitive month names.
Please make sure you read through the "Contribution Checklist"
https://sourceware.org/glibc/wiki/Contribution%20checklist
Do you have copyright assignment with the FSF for glibc?
Your change is more than the accepted 11 lines and thus
legally significant and requiring copyright assignment.
--
Cheers,
Carlos.