2 Replies Latest reply on Aug 24, 2009 11:48 AM by oneworld95

    Display time zone in rich:Calendar?

    oneworld95

      Is it possible to display the time zone (i.e. EST, PDT, etc.) in the rich:Calendar's textbox? I've tried this:

      <rich:calendar value="#{easreport.monthlyTestDateTime1}" id="calWeeklyTestDateTime1"
       datePattern="MM-dd-yyyy HH:mm a z" showApplyButton="true"/>


      but it displays the date as "08-24-2009 10:23 AM z". I based the datePattern on the guidance from this page: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html