cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: C2.2 jx:template generator changes time !!
Date Fri, 14 Sep 2007 04:01:55 GMT

On 13.09.2007 11:54 Uhr, S├ębastien Geindre wrote:

> <fd:pattern>yyyy-MM-dd'T'hh:mm:ss.000'Z'</fd:pattern>

> <jx:formatDate value="${data.endValidityTime}" 
> pattern="yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"/>

> It seems that 12 is weird time for jx generator...

What I notice in your patterns is the difference between H (hours 0-23) 
and h (am/pm, 1-12) [1]. So it might actually be you who screwes the 
dates up :)

Joerg

[1] http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html

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


Mime
View raw message