Hi Joan,

On Saturday, 2011-11-19 21:50:07 +0100, Joan Montané wrote:

> It's not related with inflective forms, but something similar needed in
> Catalan, and maybe in other languages like French or Italian.
> 
> In Catalan it's usual to use the long date form "3 de setembre de 2011"
> (3rd of September of 2011, day of month of year), and other similar long
> date forms using the preposition "de" (of) in front of month and year. This
> form can be build with a custom date format using: D "de" MMMM "de" YYYY,
> but it's not perfect, because the preposition "de" is contracted in front
> of some months to "d' ", so there are 3 months were "de" should be changed
> to "d' ".
> 
> Some examples, 1st of each month, from January to December, of 2011:
> 
> 1 de gener de 2011
> 1 de febrer de 2011
> 1 de març de 2011
> 1 d'abril de 2011
> 1 de maig de 2011
> 1 de juny de 2011
> 1 de juliol de 2011
> 1 d'agost de 2011
> 1 de setembre de 2011
> 1 d'octubre de 2011
> 1 de novembre de 2011
> 1 de desembre de 2011

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 in
parser code.

> Note: The "de" preposition in front of year can also be contracted in some
> cases, but the last year in past was 11, and the first year in future will
> be 11000. So, we have time to achieve the perfect date format, :)

I'm quite sure that I will not fix that in near future :)

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

-- 
Unsubscribe instructions: E-mail to l10n+h...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/l10n/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to