Update jquery.datetimepicker.full.js

This commit is contained in:
Manidos 2017-04-02 16:04:28 +07:00 committed by GitHub
parent e693d36880
commit 90a6255840

View File

@ -1834,7 +1834,7 @@ var DateFormatter;
if (!norecursion && options.defaultDate) { if (!norecursion && options.defaultDate) {
date = _this.strToDateTime(options.defaultDate); date = _this.strToDateTime(options.defaultDate);
d.setDate(0); d.setDate(1);
d.setFullYear(date.getFullYear()); d.setFullYear(date.getFullYear());
d.setMonth(date.getMonth()); d.setMonth(date.getMonth());
d.setDate(date.getDate()); d.setDate(date.getDate());