Skip to content

Commit d28b5db

Browse files
Set timezone to default by kapouer
1 parent 480135a commit d28b5db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function Timepicker() {
6868
minute: 0,
6969
second: 0,
7070
millisec: 0,
71-
timezone: '+0000',
71+
timezone: null,
7272
hourMin: 0,
7373
minuteMin: 0,
7474
secondMin: 0,
@@ -110,6 +110,7 @@ $.extend(Timepicker.prototype, {
110110
minute: 0,
111111
second: 0,
112112
millisec: 0,
113+
timezone: null,
113114
hourMinOriginal: null,
114115
minuteMinOriginal: null,
115116
secondMinOriginal: null,
@@ -182,6 +183,7 @@ $.extend(Timepicker.prototype, {
182183
tp_inst._defaults.timezoneList = timezoneList;
183184
}
184185

186+
tp_inst.timezone = tp_inst._defaults.timezone;
185187
tp_inst.hour = tp_inst._defaults.hour;
186188
tp_inst.minute = tp_inst._defaults.minute;
187189
tp_inst.second = tp_inst._defaults.second;

0 commit comments

Comments
 (0)