1 Reply Latest reply on Nov 23, 2008 9:18 PM by nico.ben

    time-zone-selector and rich:calendar: bug?

    nico.ben

      Hi,
      in my components.xml I add the line:


      <i18n:time-zone-selector cookie-enabled="true" time-zone-id="Europe/Rome"/>



      Let suppose that my timestamp value in my db is  2008-11-22 14:00.


      In a xhtml with


      <s:convertDateTime pattern="dd-MM-yyyy HH:mm" />



      the timestamp  is shown as  2008-11-12 16:00  (applying the correct time-zone, i.e. plus two hours)


      But the instruction


      <rich:calendar id="sampleTimestamp" 
              value="..."
              datePattern="dd/MM/yyyy HH:mm" showApplyButton="true" />



      seems to ignore the time-zone and shows the value as in database.


      Is this an known problem? Is it to be notified in rich-faces forum?


      I am using seam 2.1.1.CR1 and richfaces 3.2.2.GA.


      Regards,
      Nicola