Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1057 by
vmlmil...@gmail.com: datepicker can't parse a string
value with a time component
http://code.google.com/p/struts2-jquery/issues/detail?id=1057
What steps will reproduce the problem?
1. <sj:datepicker value="2004-08-14 03:25" displayFormat="yy-mm-dd"
timepicker="true" timepickerFormat="hh:mm"/>
2.
3.
What is the expected output? What do you see instead?
The above tag should display the date and time as "2004-08-14 03:25" but it
shows "2004-08-14 12:00" because the time component is never parsed
Which struts2 version? 2.3.15.2
Which struts2-jquery plugin version? 3.6.1
Please provide any additional information below.
DatePicker.java parses the string value according to some patterns that
never take into consideration the timepickerFormat attribute, so the time
component is always lost.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings