Opened 14 years ago
Closed 13 years ago
#4755 closed bug (wontfix)
Default date goes to 1900 instead of 2000
Reported by: | moresandeep | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8 |
Component: | ui.datepicker | Version: | 1.7.2 |
Keywords: | Calendar | Cc: | |
Blocked by: | Blocking: |
Description
In the JQuery calendar if the value of date entered is 03/05/29 and hit enter it interpreters as 1929 instead of 2029
Change History (3)
comment:1 Changed 13 years ago by
Component: | ui.core → ui.datepicker |
---|---|
Milestone: | TBD → 1.8 |
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This isn't a bug. The
shortYearCutoff
option is defaulted to+10
, which currently would default any 2-digit year greater than 19 (meaning 2019) to the previous century. Changing the option to '+20' would solve the opener's problem for the given example.Example: