::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

Reply via email to