summaryrefslogtreecommitdiffstats
path: root/dist/jquery-ui-timepicker-addon.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/jquery-ui-timepicker-addon.js')
-rw-r--r--dist/jquery-ui-timepicker-addon.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/dist/jquery-ui-timepicker-addon.js b/dist/jquery-ui-timepicker-addon.js
index c5fa847..d6c362d 100644
--- a/dist/jquery-ui-timepicker-addon.js
+++ b/dist/jquery-ui-timepicker-addon.js
@@ -2059,11 +2059,7 @@
return 0;
}
- if(/^[a-zA-Z -]+$/.test(normalized)){ // possibly a user defined tz, so just give it back
- return tzString;
- }
-
- if (!/^(\-|\+)\d{4}$/.test(normalized)) {
+ if (!/^(\-|\+)\d{4}$/.test(normalized)) { // possibly a user defined tz, so just give it back
return parseInt(tzString, 10);
}