[Libreoffice-bugs] [Bug 128314] Obscure and unmanageable long month name capitalization rules in date formats (ru-RU)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 22 13:04:20 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=128314

--- Comment #2 from Eike Rathke <erack at redhat.com> ---
This is due to locale data in i18npool/source/localedata/data/ru_RU.xml and how
the number formatter's rules for genitive case vs noun case kick in.

All <MonthsOfYear> (used as noun, i.e. for a single MMMM) full month names in
ru_RU.xml start with a capital letter, abbreviated names start with a small
letter. There is no direct way to have different casing for the same format
code or month name. Maybe the new NatNum12 spell-out rules can cover that, not
sure.

The <GenitiveMonths> used for the possessive genitive case (i.e. in conjunction
with the day of month as in D MMMM) start with small letters.
For >D MMMM,< the trailing comma leads to the noun case being used, due to
backwards compatibility with other characters following a MMMM. However,
probably the comma could be exempted there (and the LongDateMonthSeparator
fwiw, which happens to be a space in ru_RU.xml so works anyway).

For the glory details see
https://erack.net/blog/archives/2-LibreOffice-possessive-genitive-case-and-partitive-case-month-names.html
(I think those basic rules didn't change) and implementation in
svl/source/numbers/zformat.cxx SvNumberformat::ImpUseMonthCase().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191022/2eb08106/attachment.html>


More information about the Libreoffice-bugs mailing list