Skip to content
This repository has been archived by the owner on Feb 14, 2019. It is now read-only.

solved bugs for same date instance #671

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions js/bootstrap-datetimepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1192,9 +1192,9 @@

_setDate: function (date, which) {
if (!which || which === 'date')
this.date = date;
this.date = new Date(date);
if (!which || which === 'view')
this.viewDate = date;
this.viewDate = new Date(date);
this.fill();
this.setValue();
var element;
Expand Down