Skip to main content

Search and Top Navigation

#9454 closed bug (duplicate)

Opened July 24, 2013 01:27PM UTC

Closed July 24, 2013 01:39PM UTC

Datepicker getDate API call with 29 February

Reported by: hugi Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

Hello,

I found a problem with the getDate API call from Datepicker. If I enter 29 February in the date input text field the getDate method will return a different date.

I tested it with version 1.10.3 and version 1.9.2.

To simulate the bug please use this fiddle: http://jsfiddle.net/ebqFs/

1. Insert 29th February 2012 in the input field

2. Loose focus of the Datepicker UI element. (click somewhere)

3. Get focus of the Datepicker UI element. (click input field)

> Date change to today

Thanks for your help!

Attachments (0)
Change History (1)

Changed July 24, 2013 01:39PM UTC by scottgonzalez comment:1

resolution: → duplicate
status: newclosed

Duplicate of #7759.