cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: how to override locale date format?
Date Tue, 04 Nov 2003 07:22:17 GMT
Date formats used by i18n transformer come from the JDK resource bundles.
Check the i18n samples in Cocoon and switch to Polish translation, there is
a date somewhere at the last line and it should be formatted according to
the selected locale.

In any case, if you want another format then you can use
<i18n:date format="dd.MM.yyyy" .../> to specify the desired date format. But
note that this format will be fixed for all the locales.

Regards,
  Konstantin

From: "Marcin Okraszewski" <okrasz@o2.pl>

> Hi,
> I'm using i18n for localizing date format. It works fine, but I
> don't agree with format for Polish date (yyyy-MM-dd and should
> rather be dd.MM.yyyy). How can I change it?
>
> Regards,
> Marcin Okraszewski
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message