Skip to main content

Search and Top Navigation

#3183 closed bug (fixed)

Opened August 13, 2008 10:46PM UTC

Closed September 07, 2008 08:43AM UTC

Last modified November 19, 2008 04:32AM UTC

onSelect and onClose have inconsistent signatures

Reported by: 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.

Attachments (0)
Change History (3)

Changed August 16, 2008 08:19PM UTC by Cloudream comment:1

milestone: → 1.6

Changed September 07, 2008 08:43AM UTC by kbwood comment:2

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.

Changed November 19, 2008 04:32AM UTC by rdworth comment:3

milestone: 1.61.6rc1