Skip to content

Commit 7bc2133

Browse files
committed
Expand timezoneOffsetNumber() docs
1 parent 83b6840 commit 7bc2133

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,8 +1938,8 @@
19381938

19391939
/**
19401940
* Get the number in minutes that represents a timezone string
1941-
* @param {string} tzString formatted like "+0500", "-1245"
1942-
* @return {number}
1941+
* @param {string} tzString formatted like "+0500", "-1245", "Z"
1942+
* @return {number} the offset minutes or the original string if it doesn't match expectations
19431943
*/
19441944
$.timepicker.timezoneOffsetNumber = function(tzString) {
19451945
var normalized = tzString.toString().replace(':',''); // excuse any iso8601, end up with "+1245"

0 commit comments

Comments
 (0)