5 Replies Latest reply on Nov 22, 2012 12:23 PM by jsface

    Calendar - how to set default time to 00:00

    billevans

      I am using the calendar as follows:

      <rich:calendar id="startDate" value="#{alertFilter.startDate}" popup="true" enableManualInput="true" inputStyle="width: 105px;"
       datePattern="MM/dd/yyyy HH:mm"/>


      ... and it works just great!! (thanks)...

      However, when the field is empty and the user clicks the button to reveal the chooser, it always defaults to todays date at 12:00.

      Is there a way to change the default time to 00:00 ?

      Any help much appreciated!