Ticket #6671 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

Description

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

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

Change History

comment:1 Changed 4 years ago by pheiberg

Committed  proposed fix in GitHub.

comment:2 Changed 4 years ago by pheiberg

  • Status changed from new to closed
  • Resolution set to fixed

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

Changeset: d69f2ecb1273f382d83b13c349a8c76b17bee2a6

comment:3 Changed 4 years ago by scott.gonzalez

  • Summary changed from setDate manipulates its argument to Datepicker: setDate manipulates its argument

comment:4 Changed 4 years ago by scott.gonzalez

#6143 is a duplicate of this ticket.

comment:5 Changed 4 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.7
Note: See TracTickets for help on using tickets.