Skip to main content

Search and Top Navigation

#6671 closed bug (fixed)

Opened November 19, 2010 04:41PM UTC

Closed November 22, 2010 01:29PM UTC

Last modified December 08, 2010 06:38PM UTC

Datepicker: setDate manipulates its argument

Reported by: mbarkhau Owned by:
Priority: minor Milestone: 1.8.7
Component: ui.datepicker Version: 1.8.6
Keywords: Cc:
Blocked by: Blocking:
Description

setDate should make a clone of its argument and not reset the time.

See: http://jsbin.com/oromi4/4

Attachments (0)
Change History (5)

Changed November 21, 2010 09:30PM UTC by pheiberg comment:1

Committed proposed fix in GitHub.

Changed November 22, 2010 01:29PM UTC by pheiberg comment:2

resolution: → fixed
status: newclosed

Datepicker: changed setDate not to modify the passed date argument. Fixes #6671 - setDate manipulates its argument

Changeset: d69f2ecb1273f382d83b13c349a8c76b17bee2a6

Changed November 22, 2010 01:30PM UTC by scottgonzalez comment:3

summary: setDate manipulates its argumentDatepicker: setDate manipulates its argument

Changed November 22, 2010 04:47PM UTC by scottgonzalez comment:4

#6143 is a duplicate of this ticket.

Changed December 08, 2010 06:38PM UTC by scottgonzalez comment:5

milestone: 1.91.8.7