webtier_at_javadesktop.org wrote:
>> FWIW, we fixed this in JSF 2.0.
>>
>
> Sorry, but seems you didn't fixed it in JSF 2.0 at least when application using facelets.
> After we just switched to facelets the same effect show up - date takes day off :)
>
> This effect appears in JSF 2.0 build 5 and JSF 2.0 build 7.
>
> With regular jsp pages DateTime convertor works correctly.
>
Strange. The view technology should have *no* impact on how
convertDateTime behaves.
> Using timeZone helped to fix the issue but it's not good to use this kind of work around.
> <f:convertDateTime dateStyle="short" timeZone="GMT-5"/
>
> Please resolve the issue as soon as possible.
>
Did you set the
'javax.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE'
context init parameter in your web.xml to true?
This is the fix Ed was referring to. Instead of defaulting to GMT, if
this option is enabled,
it will use the container's timezone.
> Thank you,
> Vladimir
> [Message sent by forum member 'vladperl' (vladperl)]
>
> http://forums.java.net/jive/thread.jspa?messageID=320841
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>