The convertDateTime uses GMT as default

*snip*

If a timezone has been specified, it must be passed to the underlying
DateFormat instance. Otherwise the "GMT" timezone is used.

*snip*

On 7/6/06, iSquareOne LLC <[EMAIL PROTECTED]> wrote:
Hey, all,
 I think maybe someone has asked this question before. If yes, sorry for
asking the same question again. Now I noticed that the f:convertDateTime use
UTC to display time, which is very inconvenient. From the link below, I
learned that we can use s:convertDateTime which defaults to the local time.

 http://wiki.apache.org/myfaces/FAQ

 My question is - How do you solve this problem? Do you perfer
s:convertDateTime? Is there a configuration parameter that controls this
timezone, so that once we set it globally, f:convertDateTime can work
correctly?

 Thanks in advance!




 ________________________________
Want to be your own boss? Learn how on Yahoo! Small Business.




--
Matthias Wessendorf

futher stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to