File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,6 @@ $.extend(Timepicker.prototype, {
118118 formattedTime : '' ,
119119 formattedDateTime : '' ,
120120 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
124121
125122 /* Override the default settings for all instances of the time picker.
126123 @param settings object - the new settings to use as defaults (anonymous object)
@@ -166,16 +163,6 @@ $.extend(Timepicker.prototype, {
166163 } ,
167164 timepicker : tp_inst // add timepicker as a property of datepicker: $.datepicker._get(dp_inst, 'timepicker');
168165 } ) ;
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-
179166 tp_inst . amNames = $ . map ( tp_inst . _defaults . amNames , function ( val ) { return val . toUpperCase ( ) } ) ;
180167 tp_inst . pmNames = $ . map ( tp_inst . _defaults . pmNames , function ( val ) { return val . toUpperCase ( ) } ) ;
181168
You can’t perform that action at this time.
0 commit comments