File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,6 @@ $.extend(Timepicker.prototype, {
118
118
formattedTime : '' ,
119
119
formattedDateTime : '' ,
120
120
timezoneList : null ,
121
- // pre-defined formats for ISO 8601
122
- ISO_8601 : 'iso8601' , // YYYY-MM-DDThh:mm:ss -> 1999-01-01T23:01:01
123
- ISO_8601Z : 'iso8601z' , // YYYY-MM-DDThh:mm:ss(Z|[-+]hh:mm) -> 1999-01-01T23:01:01+01:00
124
121
125
122
/* Override the default settings for all instances of the time picker.
126
123
@param settings object - the new settings to use as defaults (anonymous object)
@@ -166,16 +163,6 @@ $.extend(Timepicker.prototype, {
166
163
} ,
167
164
timepicker : tp_inst // add timepicker as a property of datepicker: $.datepicker._get(dp_inst, 'timepicker');
168
165
} ) ;
169
-
170
- // pre-defined formats for ISO 8601
171
- if ( o . timeFormat !== undefined && o . timeFormat . match ( new RegExp ( '^' + this . ISO_8601Z + '?$' ) ) ) {
172
- tp_inst . _defaults . dateFormat = $ . datepicker . ISO_8601 ;
173
- tp_inst . _defaults . separator = 'T' ;
174
- tp_inst . _defaults . timeFormat = ( o . timeFormat == this . ISO_8601Z ) ? 'hh:mm:ssz' : 'hh:mm:ss' ;
175
- tp_inst . _defaults . ampm = false ;
176
- tp_inst . _defaults . timezoneIso8609 = true ;
177
- }
178
-
179
166
tp_inst . amNames = $ . map ( tp_inst . _defaults . amNames , function ( val ) { return val . toUpperCase ( ) } ) ;
180
167
tp_inst . pmNames = $ . map ( tp_inst . _defaults . pmNames , function ( val ) { return val . toUpperCase ( ) } ) ;
181
168
You can’t perform that action at this time.
0 commit comments