2 Replies Latest reply on Sep 1, 2009 12:41 PM by Some Kid

    Problem displaying time

    Some Kid Newbie

      Hello,
      I have a bit of a problem displaying time in my seam/richfaces application.
      When I need to display a date/time value I use f:convertDateTime with the format pattern. The problem is that the displayed time is (t-1)

      For example if the current time is "01/09/2009 13:11" this code:

      <p:text value="#{currentDatetime}">
       <f:convertDateTime pattern="dd/MM/yyyy HH:mm:ss" />
      </p:text>


      will return : "01/09/2009 12:11"

      This is for one of my reports, but the same thing happens in my normal pages.
      I tried using timeZone="GMT" , but it didn't change anything.

      Can anyone suggest what might be wrong ?
      Thanks.