Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3183 closed bug (fixed)

onSelect and onClose have inconsistent signatures

Reported by: paul.p.carey@… Owned by: grabanski
Priority: minor Milestone: 1.6rc1
Component: ui.datepicker Version: 1.5.2
Keywords: onselect onclose date Cc:
Blocked by: Blocking:

Description

onSelect receives a date as a string, formatted per the dateFormat option. onClose receives an actual date.

It is reasonable to expect onClose to receive a date of the same type and of the same format as onSelect.

Change History (3)

comment:1 Changed 9 years ago by Cloudream

Milestone: 1.6

comment:2 Changed 9 years ago by kbwood

Resolution: fixed
Status: newclosed

Fixed. onSelect and onClose now both return the text form of the date(s). Also updated onChangeMonthYear to return year and month separately, rather than in a Date object.

comment:3 Changed 9 years ago by rdworth

Milestone: 1.61.6rc1
Note: See TracTickets for help on using tickets.