Closed GoogleCodeExporter closed 9 years ago
did it work with jQuery format strings?
http://docs.jquery.com/UI/Datepicker/formatDate
I think it must be in your cas d/M/y
Original comment by johgep
on 16 Dec 2009 at 4:03
I saw my case was displayFormat="dd-mm-yy"
because said: yy - year (four digit).
But I tried <sj:datepicker value="today" id="date3" name="date3"
displayFormat="dd.mm.yy" label="Today" /> like example http://code.google.com/p/
struts2-jquery/wiki/DatePickerTag
and tried with jquery formats.
<sj:datepicker name="dataTest" parentTheme="simple" displayFormat="dd-mm-yy"/>
<sj:datepicker name="dataTest" parentTheme="simple" displayFormat="yy-mm-dd"/>
<sj:datepicker name="dataTest" parentTheme="simple" displayFormat="D, dd M yy"/>
but this always returns value="12/4/09" .. may be is jquery problem. :(
Original comment by mma...@gmail.com
on 16 Dec 2009 at 6:23
did it work with new version 1.8.1?
There are some changes in the DatePicker Tag.
Original comment by johgep
on 8 Jan 2010 at 9:55
Original comment by johgep
on 25 Jan 2010 at 10:00
Original issue reported on code.google.com by
mma...@gmail.com
on 16 Dec 2009 at 1:17