Skip to main content

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

Attachments (0)
Change History (3)

Changed July 30, 2010 10:42AM UTC by jzaefferer comment:1

component: ui.coreui.datepicker

Changed October 11, 2012 09:04PM UTC by scottgonzalez comment:2

milestone: TBD1.11.0

Changed October 17, 2012 04:48AM UTC by mikesherov comment:3

resolution: → duplicate
status: newclosed

Duplicate of #6659.