Ticket #6659 (closed bug: fixed)
Datepicker: Date format ymmdd not parsed correctly
|Reported by:||pheiberg||Owned by:|
When using a date format containing y (two digit year), the date is not parsed correctly. This also results in that setting the dateFormat option on datepicker to such a date format causes the calender to not select the selected date in the calendar.
Failing test to reproduce error:
equalsDate($.datepicker.parseDate('ymmdd', '010203'), new Date(2001, 2 - 1, 3), 'Parse date ymmdd - default cutoff');
The error was reproduced in both Chrome and IE8 in jQuery UI versions 1.8.6 and the most recent clone of master.
- Status changed from new to open
- Summary changed from Date format ymmdd not parsed correctly to Datepicker: Date format ymmdd not parsed correctly
- Milestone changed from TBD to 1.9
- Status changed from open to closed
- Resolution set to fixed