Skip to content
Merged
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
Fixes #471
It may have some side effect. Seems working fine for me
  • Loading branch information
magnetik committed Jan 17, 2013
commit 13ab774347c36667ead6b112ab69683baf0341f2
10 changes: 5 additions & 5 deletions jquery-ui-timepicker-addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -1279,11 +1279,11 @@
if (tp_inst) {
tp_inst._addTimePicker(inst);

if (tp_inst._defaults.useLocalTimezone) { //checks daylight saving with the new date.
var date = new Date(inst.selectedYear, inst.selectedMonth, inst.selectedDay, 12);
selectLocalTimeZone(tp_inst, date);
tp_inst._onTimeChange();
}
// if (tp_inst._defaults.useLocalTimezone) { //checks daylight saving with the new date.
// var date = new Date(inst.selectedYear, inst.selectedMonth, inst.selectedDay, 12);
// selectLocalTimeZone(tp_inst, date);
// tp_inst._onTimeChange();
// }
}
}
};
Expand Down