There is one annoying problem with genetive case of full month names in russian. Particularly it can be noticed when using gnu cal program from util-linux package. `cal` or `cal 2004` outputs month names in the genitive -- it is not true. These names should be in the nominative. Proposed patch (it's against cvs) fixes this issue.
Created attachment 266 [details] fix case endings of month names in russian ( from the genitive to the nominative)
This would break printing of dates in xfce which (correctly) uses "%A, %d %B %Y" for strftime argument, so both the existing and the proposed implementations are wrong. There is just no way to implement that right without extending the existing standard. Summary: for "%d %B %Y" genitive case should be used (as the existing implementation does), while for "%B %Y" (without "%d") the right case is nominative. This is in fact a defect in the standard that imprecisely defines "%B" to mean "the locale's full month name" without stating the relevant use case (i.e. together with the day number or without it). Please document this defect in glibc texinfo documentation, like this: "use of %B without a preceding %d produces gramatically incorrect results for some locales". In fact, both use cases are needed. Maybe a GNU extension like "%EB"?
In my previous comment, the summary is correct, and the proposed doc update is wrong. Other Cyrillic locales (e.g uk_UA, be_BY) use nominative case here, so "%B %Y" works, "%d %B %Y" produces gramatically incorrect result in those locales. So the proposed patch at least makes the behaviour consistent across Cyrillic locales (but still not perfect). If you apply the patch, please add to texinfo documentation for %B: "use of %B together with %d produces grammatically incorrect results for some locales". If you don't apply the patch, please add this to documentation (sorry for the tone): "use of %B together with %d produces grammatically incorrect results for some locales (e.g. be_BY.UTF-8) and use of %B without %d produces grammatically incorrect results in other locales (e.g. ru_RU.UTF-8). Thus, please don't use %B if you want the program's output to be grammatically correct in all locales."
I made the change in the CVS trunk. Consistency is good and I mentioned the problem in the manual.
*** Bug 260998 has been marked as a duplicate of this bug. *** Seen from the domain http://volichat.com Page where seen: http://volichat.com/adult-chat-rooms Marked for reference. Resolved as fixed @bugzilla.