Skip to content

Commit 2b2e473

Browse files
Nico RitscheNico Ritsche
Nico Ritsche
authored and
Nico Ritsche
committed
slider label texts
1 parent 56643ca commit 2b2e473

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,9 @@ $.fn.extend({
756756
o = o || {};
757757
var tmp_args = arguments;
758758

759-
if (typeof o == 'object') tmp_args[0] = $.extend(o, { timeFormat: 'dd:hh:mm', timeOnly: true, showDay: true, showTime: false, showTitle: false });
759+
if (typeof o == 'object') tmp_args[0] = $.extend(o, { timeFormat: 'dd:hh:mm', timeOnly: true, showDay: true,
760+
showTime: false, showTitle: false, dayText: 'Days',
761+
hourText: 'Hours', minuteText: 'Minutes' });
760762

761763
return $(this).each(function() {
762764
$.fn.datetimepicker.apply($(this), tmp_args);

0 commit comments

Comments
 (0)