From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25231 invoked by alias); 5 Nov 2016 10:42:47 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 25213 invoked by uid 89); 5 Nov 2016 10:42:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*x:Mailer, H*UA:Mailer, sk:fweimer, U*fweimer X-HELO: aev204.rev.netart.pl Date: Sat, 05 Nov 2016 10:42:00 -0000 From: Rafal Luzynski Reply-To: Rafal Luzynski To: libc-alpha@sourceware.org, Florian Weimer Message-ID: <1193827597.2205598.1478342553291@poczta.nazwa.pl> In-Reply-To: <9ad2c26f-9fe3-150c-ec84-a5ed73fba5c2@redhat.com> References: <1155243857.420233.60a90901-4334-4cea-aa99-f76884316a10.open-xchange@poczta.nazwa.pl> <56FA4490.30402@redhat.com> <9ad2c26f-9fe3-150c-ec84-a5ed73fba5c2@redhat.com> Subject: Re: [RFC][PATCH v2 3/6] Implement the %OB specifier - alternative month names (bug 10871) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Originating-Client: com.openexchange.ox.gui.dhtml X-SW-Source: 2016-11/txt/msg00220.txt.bz2 4.11.2016 14:36 Florian Weimer wrote: > > > On 03/29/2016 11:02 AM, Florian Weimer wrote: > > On 03/25/2016 01:55 AM, Rafal Luzynski wrote: > > > >> 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. > > > > What's the status here on the POSIX side? It's marked as Accepted in > > the tracker, but the changes apparently haven't been folded into > > subsequent editions. > > This question has never been answered. At least partial answer is here: https://sourceware.org/ml/libc-alpha/2016-10/msg00319.html > I think it's quite relevant to > whether we can accept the patch or not. > > Florian Please note that it's a bug that strftime() does not format the month names in nominative/genitive case (more generally: standalone/full date). Many other toolkits have the same bug because they just call strftime() internally. And also it's been accepted that it's a bug in POSIX that it does not specify %OB. Is there any alternative solution for the bug? Regards, Rafal Luzynski