Skip to content

Commit 7cded25

Browse files
authored
FIX: HTML5 has fixed time format HH:mm:ss, ...
Otherwise browsers that support it don't recognize default value
1 parent f9415cd commit 7cded25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jquery-ui-timepicker-addon.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
*/
167167
setDefaults: function (settings) {
168168
extendRemove(this._defaults, settings || {});
169+
this._defaults.timeFormat = 'HH:mm:ss';
169170
return this;
170171
},
171172

0 commit comments

Comments
 (0)