updated default localization
This commit is contained in:
parent
763bb27cf2
commit
db4a4a8b10
1 changed files with 2 additions and 2 deletions
4
jquery-ui-timepicker-addon.js
vendored
4
jquery-ui-timepicker-addon.js
vendored
|
@ -22,7 +22,7 @@
|
|||
this.regional[''] = { // Default regional settings
|
||||
ampm: false,
|
||||
timeFormat: 'hh:mm tt',
|
||||
timepickerTitle: 'Choose Time',
|
||||
timeOnlyTitle: 'Choose Time',
|
||||
timeText: 'Time',
|
||||
hourText: 'Hour',
|
||||
minuteText: 'Minute',
|
||||
|
@ -184,7 +184,7 @@
|
|||
if (opts.timeOnly === true) {
|
||||
$tp.prepend(
|
||||
'<div class="ui-widget-header ui-helper-clearfix ui-corner-all">' +
|
||||
'<div class="ui-datepicker-title">'+ opts.timepickerTitle +'</div>' +
|
||||
'<div class="ui-datepicker-title">'+ opts.timeOnlyTitle +'</div>' +
|
||||
'</div>');
|
||||
$dp.find('.ui-datepicker-header, .ui-datepicker-calendar, .ui-datepicker-current').hide();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue