Skip to content

Commit 6b786db

Browse files
committed
changed timezone to xsd:datetime standard
1 parent d4b48ea commit 6b786db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function Timepicker() {
5454
hour: 0,
5555
minute: 0,
5656
second: 0,
57-
timezone: '+0000',
57+
timezone: '+00:00',
5858
hourMin: 0,
5959
minuteMin: 0,
6060
secondMin: 0,
@@ -70,10 +70,10 @@ function Timepicker() {
7070
separator: ' ',
7171
altFieldTimeOnly: true,
7272
showTimepicker: true,
73-
timezoneList: ["-1100", "-1000", "-0900", "-0800", "-0700", "-0600",
74-
"-0500", "-0400", "-0300", "-0200", "-0100", "+0000",
75-
"+0100", "+0200", "+0300", "+0400", "+0500", "+0600",
76-
"+0700", "+0800", "+0900", "+1000", "+1100", "+1200"]
73+
timezoneList: ["-11:00", "-10:00", "-09:00", "-08:00", "-07:00", "-06:00",
74+
"-05:00", "-04:00", "-03:00", "-02:00", "-01:00", "+00:00",
75+
"+01:00", "+02:00", "+03:00", "+04:00", "+05:00", "+06:00",
76+
"+07:00", "+08:00", "+09:00", "+10:00", "+11:00", "+12:00"]
7777
};
7878
$.extend(this._defaults, this.regional['']);
7979
}

0 commit comments

Comments
 (0)