We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 984387b + c4402c7 commit 4f75af4Copy full SHA for 4f75af4
jquery-ui-timepicker-addon.js
@@ -88,7 +88,8 @@
88
89
if (!this.defaults.timeOnly) {
90
//the time should come after x number of characters and a space. x = at least the length of text specified by the date format
91
- regstr = '.{' + this.defaults.dateFormat.length + ',}\\s+' + regstr;
+ var dp_dateFormat = $.datepicker._get(dp_inst, 'dateFormat');
92
+ regstr = '.{' + dp_dateFormat.length + ',}\\s+' + regstr;
93
}
94
95
var order = this.getFormatPositions();
0 commit comments