cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: i18n date pattern question
Date Tue, 16 Dec 2003 14:33:48 GMT

On 16 Dec 2003, at 13:37, Ivo Limmen wrote:

> Hi everyone,
>
> I have been trying to i18n a piece of xml with dates. The standard 
> date patterns are not sufficient for my needs.
>
> I know that you can i18n a date with:
>
> <i18n:date-time locale="nl_NL"
> pattern="FULL" value="2003-12-1614:30:56"
> src-pattern="yyyy-MM-dd HH:mm:ss"/>
>
> But I have tried to do this:
>
> <i18n:date-time locale="nl_NL"
> pattern="my_pattern" value="2003-12-1614:30:56"
> src-pattern="yyyy-MM-dd HH:mm:ss" i18n:attr="pattern"/>
>
> This, unfortunatly, does not work.
> Is there another way to specify my pattern per country without having 
> to use the i18n:when / i18n:otherwise ?

does this help at all ?

	http://wiki.cocoondev.org/Wiki.jsp?page=WorkingWithLocales

regards Jeremy

Mime
View raw message