Opened 10 years ago
Closed 10 years ago
#9454 closed bug (duplicate)
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/
- Insert 29th February 2012 in the input field
- Loose focus of the Datepicker UI element. (click somewhere)
- Get focus of the Datepicker UI element. (click input field)
=> Date change to today
Thanks for your help!
Note: See
TracTickets for help on using
tickets.
Duplicate of #7759.