@@ -88,7 +88,7 @@ function Timepicker() {
88
88
separator : ' ' ,
89
89
altFieldTimeOnly : true ,
90
90
showTimepicker : true ,
91
- timezoneIso8609 : false ,
91
+ timezoneIso8601 : false ,
92
92
timezoneList : null ,
93
93
addSliderAccess : false ,
94
94
sliderAccessArgs : null
@@ -176,7 +176,7 @@ $.extend(Timepicker.prototype, {
176
176
var timezoneList = [ ] ;
177
177
for ( var i = - 11 ; i <= 12 ; i ++ )
178
178
timezoneList . push ( ( i >= 0 ? '+' : '-' ) + ( '0' + Math . abs ( i ) . toString ( ) ) . slice ( - 2 ) + '00' ) ;
179
- if ( tp_inst . _defaults . timezoneIso8609 )
179
+ if ( tp_inst . _defaults . timezoneIso8601 )
180
180
timezoneList = $ . map ( timezoneList , function ( val ) {
181
181
return val == '+0000' ? 'Z' : ( val . substring ( 0 , 3 ) + ':' + val . substring ( 3 ) ) ;
182
182
} ) ;
@@ -284,16 +284,16 @@ $.extend(Timepicker.prototype, {
284
284
var tz = treg [ order . z ] . toUpperCase ( ) ;
285
285
switch ( tz . length ) {
286
286
case 1 : // Z
287
- tz = this . _defaults . timezoneIso8609 ? 'Z' : '+0000' ;
287
+ tz = this . _defaults . timezoneIso8601 ? 'Z' : '+0000' ;
288
288
break ;
289
289
case 5 : // +hhmm
290
- if ( this . _defaults . timezoneIso8609 )
290
+ if ( this . _defaults . timezoneIso8601 )
291
291
tz = tz . substring ( 1 ) == '0000'
292
292
? 'Z'
293
293
: tz . substring ( 0 , 3 ) + ':' + tz . substring ( 3 ) ;
294
294
break ;
295
295
case 6 : // +hh:mm
296
- if ( ! this . _defaults . timezoneIso8609 )
296
+ if ( ! this . _defaults . timezoneIso8601 )
297
297
tz = tz == 'Z' || tz . substring ( 1 ) == '00:00'
298
298
? '+0000'
299
299
: tz . replace ( / : / , '' ) ;
@@ -1102,7 +1102,7 @@ $.datepicker._gotoToday = function(id) {
1102
1102
tzoffset = Math . abs ( tzoffset ) ;
1103
1103
var tzmin = tzoffset % 60 ;
1104
1104
tzoffset = tzsign + ( '0' + ( tzoffset - tzmin ) / 60 ) . slice ( - 2 ) + ( '0' + tzmin ) . slice ( - 2 ) ;
1105
- if ( tp_inst . _defaults . timezoneIso8609 )
1105
+ if ( tp_inst . _defaults . timezoneIso8601 )
1106
1106
tzoffset = tzoffset . substring ( 0 , 3 ) + ':' + tzoffset . substring ( 3 ) ;
1107
1107
tp_inst . timezone_select . val ( tzoffset ) ;
1108
1108
}
0 commit comments