Search and Top Navigation
#9600 closed bug (duplicate)
Opened October 13, 2013 02:32PM UTC
Closed October 14, 2013 12:17PM UTC
Choosing the year 1AD...99AD in the year dropdown does not work
Reported by: | schwarzenneger | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.datepicker | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Create a datepicker with changeYear
dropdown and an yearRange
which starts from 1
using the following code (http://jsfiddle.net/XHQkG/1/):
$("#datepicker1").datepicker({ changeYear: true, yearRange: "1:2020" });
When you attempt to select the year 1 through 99 in the year dropdown, the year 1901 through 1999 becomes selected instead (1 becomes 1901, 2 becomes 1902 and so on). It works OK for years >= 100.
Attachments (0)
Change History (1)
Changed October 14, 2013 12:17PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Duplicate of #7098.