What can I say? It is a Java problem AND a JSF problem, so to say ;)

I added -Duser.timezone=Europe/Berlin to JAVA_OPTS environment property. Now,

System.getProperty("user.timezone") is Europe/Berlin
TimeZone.getDefault().getID() is Europe/Berlin
TimeZone.getDefault().getDisplayName() is Zentraleuropäische Zeit (Central 
European Time)
and the offset is 3600000 ms (i.e. one hour)
and useDaylight is true

BUT in the DateTimeConverter class

getTimeZone().getId() is GMT
getTimeZone().getId() is Greenwich Zeit (Greenwich Time)
the offset is 0,
and useDaylight is false.

Well, the JVM has the right timezone set, but JSF ignores it and falls back to 
Greenwich Mean Time. I think I got a big fat bone to pick with the Apache 
MyFaces staff ;).

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963525#3963525

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963525

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to