Kishen Simbhoedatpanday wrote:
Thank you Jeromy!

When using the 'displayFormat="h:mm a"' in the datetimepicker tag...

So we set the following in our Action method:
this.setCurrentTimePart("16:15");
The exception is in the DateFormat.parse() method called by the DateTimePicker. "16:15" is an invalid because "h:mm a" is only a 12 hour format. You need "HH:mm"
See the javadoc for SimpleDateFormat for the description of the pattern.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to