Perhaps this could help you

http://thread.gmane.org/gmane.comp.jakarta.myfaces.user/19435/focus=19485





2006/5/30, ::SammyRulez:: <[EMAIL PROTECTED]>:
yes.. (it in my case) but nothing happened



2006/5/30, Ondrej Svetlik <[EMAIL PROTECTED]>:
> ::SammyRulez:: wrote:
> > Hi all
> >
> > I'm developing a intranet application and I notices that, because of
> > the time-zone awerenes of JSF, all de dates are decrased by two hours
> > from the persisted value while displayed.
> > Forcin the formatting to timeZone="GMT-2" dates are displaied ok but I
> > would't like to spread timeZone attributes in all the pages in which I
> > display dates.
> >
> > There is a knob to set a default timezone? or a easy workaround?
> >
> > ps: Both application server and db have timezone setted correctly to
> > GMT-2 as a system variable!
> >
> >
>
> Hello,
>
> have you tried to set the correct locale? I'm just guessing.
>
> <faces-config>
>
>    <application>
>      <locale-config>
>        <default-locale>de</default-locale>
>      </locale-config>
>    </application>
>
> </faces-config>
>
>
> Best regards
>
> Ondrej Svetlik
>


--
::SammyRulez::
http://www.kyub.com/blojsom/
Un hacker รจ una "persona che si impegna nell'affrontare sfide
intellettuali per aggirare o superare creativamente le limitazioni che
gli vengono imposte, non limitatamente ai suoi ambiti d'interesse, ma
in tutti gli aspetti della sua vita"

Reply via email to