Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#3183 closed bug (fixed)

onSelect and onClose have inconsistent signatures

Reported by: [email protected] Owned by: grabanski
Priority: minor Milestone: 1.6rc1
Component: ui.datepicker Version: 1.5.2
Keywords: onselect onclose date Cc:
Blocked by: Blocking:


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 14 years ago by Cloudream

Milestone: 1.6

comment:2 Changed 14 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 14 years ago by rdworth

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