0 Replies Latest reply on Jun 20, 2006 11:19 AM by Tomasz Zab?ocki

    Is it a locale issue?

    Tomasz Zab?ocki Newbie

      Here is my date issue:

      I'm having a java bean (it's an enterprise bean in fact but I think it doesn't matter) with a java.util.Date property. The value is set to ie. 2006-05-30. When I print the value to the console everything is allright. But in my web browser window I can see 2006-05-29. I think it's a locale issue 'cause the problem date value is in fact two hours earlier. I'm using JSF myfaces implementation. I've changed default locale in faces-config.xml to en but it didn't help. Any ideas on how to fix the problem?