You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "::SammyRulez::" <sa...@gmail.com> on 2006/05/30 11:30:05 UTC
turning off timezone awarenes (or at least taming it!)
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!
--
::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"
Re: turning off timezone awarenes (or at least taming it!)
Posted by "::SammyRulez::" <sa...@gmail.com>.
thanks
2006/5/30, Cosma Colanicchia <co...@gmail.com>:
> Perhaps this could help you
>
> http://thread.gmane.org/gmane.comp.jakarta.myfaces.user/19435/focus=19485
>
>
>
>
>
> 2006/5/30, ::SammyRulez:: <sa...@gmail.com>:
> > yes.. (it in my case) but nothing happened
> >
> >
> >
> > 2006/5/30, Ondrej Svetlik <on...@svetlik.info>:
> > > ::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"
> >
>
Re: turning off timezone awarenes (or at least taming it!)
Posted by Cosma Colanicchia <co...@gmail.com>.
Perhaps this could help you
http://thread.gmane.org/gmane.comp.jakarta.myfaces.user/19435/focus=19485
2006/5/30, ::SammyRulez:: <sa...@gmail.com>:
> yes.. (it in my case) but nothing happened
>
>
>
> 2006/5/30, Ondrej Svetlik <on...@svetlik.info>:
> > ::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"
>
Re: turning off timezone awarenes (or at least taming it!)
Posted by "::SammyRulez::" <sa...@gmail.com>.
yes.. (it in my case) but nothing happened
2006/5/30, Ondrej Svetlik <on...@svetlik.info>:
> ::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"
Re: turning off timezone awarenes (or at least taming it!)
Posted by Ondrej Svetlik <on...@svetlik.info>.
::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