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.
1 parent 675043d commit 0851f32Copy full SHA for 0851f32
jquery-ui-timepicker-addon.js
@@ -87,7 +87,8 @@
87
88
if (!this.defaults.timeOnly) {
89
//the time should come after x number of characters and a space. x = at least the length of text specified by the date format
90
- regstr = '.{' + this.defaults.dateFormat.length + ',}\\s+' + regstr;
+ var dp_dateFormat = $.datepicker._get(dp_inst, 'dateFormat');
91
+ regstr = '.{' + dp_dateFormat.length + ',}\\s+' + regstr;
92
}
93
94
var order = this.getFormatPositions();
0 commit comments