Labels: Type-Defect Priority-Medium
New issue 1057 by vmlmil...@gmail.com
: datepicker can't parse a string
value with a time component
What steps will reproduce the problem?
1. <sj:datepicker value="2004-08-14 03:25" displayFormat="yy-mm-dd"
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? 126.96.36.199
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: