Opened 5 years ago

Closed 5 years ago

#11999 closed bug (notabug)

Datepicker error parsing dateformat: "dd/mm/y"

Reported by: diasflack Owned by:
Priority: minor Milestone: none
Component: ui.datepicker Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:

Description

Two-digits year parsing error using .datepicker("getDate");

dateformat: "dd/mm/y"

input value: "08/04/36"

expecting: Apr 08 2036

got: Apr 08 1936

jsfiddle: http://jsfiddle.net/diasflack/h5jovsyk/19/

I've seen solved ticket with same bug earlier, but it still there.

Change History (1)

comment:1 Changed 5 years ago by Scott González

Resolution: notabug
Status: newclosed

Please read the documentation for shortYearCutoff: http://api.jqueryui.com/datepicker/#option-shortYearCutoff

Note: See TracTickets for help on using tickets.