Opened 2 years ago

#15395 new bug

dateFormat: 'dd/mm/yy' doesn't support negative years.

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


dateFormat: 'dd/mm/yy' doesn't support negative years.

    dateFormat: "dd/mm/-yy",
    yearRange: "-5300:+3000",
    minDate: new Date(-3227, 5, 23, 0),
    maxDate: new Date(3000, 11, 31, 0)

Entering negative number in textbox doesn't update datepicker as expected. It always picks '+ive' year even negative year is available in dropdown list. Setting date format to "dd/mm/yy" don't allow typing "-" in text input field. Please check it on and real usage for negative years on

Change History (0)

Note: See TracTickets for help on using tickets.