cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivo Limmen <>
Subject i18n date pattern question
Date Tue, 16 Dec 2003 13:37:37 GMT
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 ?

Ivo Limmen

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message