public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "van.de.bugger at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug localedata/10871] Ru_RU month names are in incorrect form
Date: Sun, 27 Feb 2011 22:44:00 -0000 [thread overview]
Message-ID: <bug-10871-131-6wJ7IN8bEx@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-10871-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=10871
van.de.bugger at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |van.de.bugger at gmail dot
| |com
--- Comment #3 from van.de.bugger at gmail dot com 2011-02-27 22:43:44 UTC ---
(In reply to comment #2)
> You'll have to provide a complete patch.
I could provide a patch, but there is a problem in specification. Neither "man
5 locale" nor "man date" specify the case of name. It is not clear whether it
should be nominative, genitive or some another case.
For example, "date +'%d %B %Y'" produces "28 Февраль 2011" which looks
incorrect (the first letter should be small, not capital, the form should be ).
However, "date +'%B, %d-e'" produces "Февраль, 28-e" which looks correct. "date
+'%B'" produces just months name "Февраль". I cannot say whether it correct or
not without context.
The only clue could be `d_fmt' and `date_fmt' (but latter one is not described
in "man 5 locale") values in locale definition file. It looks like date string
produced with `date_fmt' should be correct, which means it Russian locale month
name (%B) should be in genitive case. But it may break some existing programs
which expect month name in nominative case...
The solution could be extending `mon' array. For example, it could contain 12,
24, or even more elements. Element #1 is name of January in nominative case,
element #13 is name of January in genitive case, #25 is the name of January in
some 3rd case, etc. `%B' is name of month in nominative case, `%1B' is the same
as `%B', `%2B' is the name of months in genitive case, `%3B' is the name of
months in the "3rd" case, etc.
Alternatively, it could be multidimensional array, so in construct `%nB' n
selects the proper dimension.
Any thoughts on that?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
next parent reply other threads:[~2011-02-27 22:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-10871-131@http.sourceware.org/bugzilla/>
2011-02-27 22:44 ` van.de.bugger at gmail dot com [this message]
2012-11-18 7:29 ` a.m.suharev at gmail dot com
2012-11-18 12:21 ` [Bug localedata/10871] ru_RU: 'mon' array should contain both nominative and genitive cases ldv at altlinux dot org
2013-06-11 18:27 ` piotrdrag at gmail dot com
2014-07-01 5:31 ` fweimer at redhat dot com
2014-07-01 5:32 ` fweimer at redhat dot com
2014-09-11 0:36 ` samos-project at meta dot ua
2014-09-11 1:55 ` samos-project at meta dot ua
2014-09-11 7:05 ` fweimer at redhat dot com
2015-10-28 2:57 ` digitalfreak at lingonborough dot com
2009-10-30 6:50 [Bug localedata/10871] New: Ru_RU month names are in incorrect form dwqwt3i02 at sneakemail dot com
2009-10-30 9:26 ` [Bug localedata/10871] " schwab at linux-m68k dot org
2010-04-09 3:02 ` drepper at redhat dot com
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=bug-10871-131-6wJ7IN8bEx@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=glibc-bugs@sources.redhat.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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).