Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6671 closed bug (fixed)

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

Change History (5)

comment:1 Changed 7 years ago by pheiberg

Committed proposed fix in GitHub.

comment:2 Changed 7 years ago by pheiberg

Resolution: fixed
Status: newclosed

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

Changeset: d69f2ecb1273f382d83b13c349a8c76b17bee2a6

comment:3 Changed 7 years ago by Scott González

Summary: setDate manipulates its argumentDatepicker: setDate manipulates its argument

comment:4 Changed 7 years ago by Scott González

#6143 is a duplicate of this ticket.

comment:5 Changed 7 years ago by Scott González

Milestone: 1.91.8.7
Note: See TracTickets for help on using tickets.