Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index

El 21 de novembre de 2011 13:31, Eike Rathke <> ha escrit:

Hi Joan,

On Sunday, 2011-11-20 11:24:19 +0100, Joan Montané wrote:

That looks like it would be possible to define genitive months as
"de març", "d'abril", "de maig", ... give it a try.

However, that might lose the ability to parse such dates as currently
the " de " is defined as LongDateDaySeparator, and the input is matched
against separators followed by month names. Might need some massaging
parser code.

Thanks for quick reply. If we define genitive months as "de març",
"d'abril",... can we access current months?  That is, when genitive or
current months forms are used?

I'm not sure I understand what you mean by "current months", is that the
month names as currently defined by the <MonthsOfYear> element? Note
that <GenitiveMonths> is an additional element and does not replace the
<MonthsOfYear> element.

In context of the parser, the parser tries to match against both,
GenitiveMonths and MonthsOfYear elements, so if MonthsOfYear specifies
the month name without the leading "de " then things should still work
if they did before, I didn't try yet.


Yes, with "current months" I was mean <MonthsOfYear>. Ok, it looks fine for
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?

In Catalan, we use only de prepositon "de" (or d') in long date formats. So
current M, MM, MMM and MMMM codes work fine. Is there some way to generate
<GenitiveMonths> with a custom date format?

Joan Montané

Unsubscribe instructions: E-mail to
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: 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.