Search and Top Navigation
#5632 closed bug (duplicate)
Opened May 19, 2010 01:24PM UTC
Closed October 17, 2012 04:48AM UTC
setting dateFormat and minDate with 4 digit year cause erroneous dates to be displayed
Reported by: | sroughley | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.11.0 |
Component: | ui.datepicker | Version: | 1.8 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using the following
.datepicker({ minDate: '31/05/2010', dateFormat: 'dd/mm/yy', ...
Causes datePicker to display a min date of December 25th 2015. Tracked issue down to parseDate->getNumber->lookAhead. Doesn't seem to account for 4 digit years