Merge branch 'master' of github.com:trentrichardson/jQuery-Timepicker-Addon
This commit is contained in:
commit
4f75af447c
1 changed files with 2 additions and 1 deletions
3
jquery-ui-timepicker-addon.js
vendored
3
jquery-ui-timepicker-addon.js
vendored
|
@ -88,7 +88,8 @@
|
|||
|
||||
if (!this.defaults.timeOnly) {
|
||||
//the time should come after x number of characters and a space. x = at least the length of text specified by the date format
|
||||
regstr = '.{' + this.defaults.dateFormat.length + ',}\\s+' + regstr;
|
||||
var dp_dateFormat = $.datepicker._get(dp_inst, 'dateFormat');
|
||||
regstr = '.{' + dp_dateFormat.length + ',}\\s+' + regstr;
|
||||
}
|
||||
|
||||
var order = this.getFormatPositions();
|
||||
|
|
Loading…
Add table
Reference in a new issue