On Monday, 2011-11-21 13:46:03 +0100, Joan Montané wrote:
Yes, with "current months" I was mean <MonthsOfYear>. Ok, it looks fine
me. I will update the Catalan xml file. Just one more question.
With M, MM, MMM, MMMM and MMMMM codes we can generate diferent months
strings. So, what code is used to generate GenitiveMonths strings? there
exists such code?
There is no new code. As said, the decision whether to display
nominative or genitive name is rule based during runtime:
* if a day of month is present in the format code, the genitive name for
MMM and MMMM is displayed
* if no day of month in the format code is oresent, the nominative name
for MMM and MMMM is displayed
The MMMMM code is a bit problematic, it can't be stored in the ODF file
format and is translated to an equivalent of MMM, so I didn't mention
that while I was at it I also added an optional <DefaultNarrowName>
element to the month (and day) name elements ;-) Something for the
In Catalan, we use only de prepositon "de" (or d') in long date formats.
current M, MM, MMM and MMMM codes work fine. Is there some way to
<GenitiveMonths> with a custom date format?
Simple, the runtime rules are applied, no need for specific genitive
case date formats.
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy