We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
showTimezone
1 parent 5ab6e7b commit b7293caCopy full SHA for b7293ca
jquery-ui-timepicker-addon.js
@@ -991,7 +991,7 @@ $.datepicker._gotoToday = function(id) {
991
this._base_gotoToday(id);
992
var now = new Date();
993
var tp_inst = this._get(inst, 'timepicker');
994
- if (tp_inst.timezone_select) {
+ if (tp_inst._defaults.showTimezone && tp_inst.timezone_select) {
995
var tzoffset = now.getTimezoneOffset(); // If +0100, returns -60
996
var tzsign = tzoffset > 0 ? '-' : '+';
997
tzoffset = Math.abs(tzoffset);
0 commit comments