myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Jaquet <>
Subject Re: Best pratices to set TimeZone
Date Tue, 06 Mar 2007 17:49:51 GMT wrote:

> I’m having problem displaying date converted with f:convertDateTime 
> because if I have the date value 2007-02-06 00:00:00.000 I show the 
> date minus one day. I think the problem is because I don’t set the 
> TimeZone used and the converter use GMT Time Zone. What is the best 
> pratices to manage TimeZone setting?
> Regards
> Mario Buonopane
> This message is for the designated recipient only and may contain 
> privileged, proprietary, or otherwise private information. If you have 
> received it in error, please notify the sender immediately and delete 
> the original. Any other use of the email by you is prohibited.

You could create an application scope bean and define the correct value, 
then access it from
your pages.

View raw message