Search and Top Navigation
#4610 closed enhancement (wontfix)
Opened June 17, 2009 08:25AM UTC
Closed June 22, 2009 02:25AM UTC
Last modified October 11, 2012 09:15PM UTC
Holidays highlight in ui.datepicker
Reported by: | antonello.pasella@gmail.com | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.datepicker | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
A patch to allow regionalized holidays to be highlighted in datepicker instances
Attachments (2)
Change History (5)
Changed June 17, 2009 09:01AM UTC by comment:1
Changed June 17, 2009 09:16AM UTC by comment:2
Replying to [comment:1 antonello.pasella@…]:
There is a bug changing the regional settings at runtime
It's a bug related to the demo, see #4612
Changed June 17, 2009 09:17AM UTC by comment:3
Changed June 22, 2009 02:25AM UTC by comment:4
resolution: | → wontfix |
---|---|
status: | new → closed |
This functionality is already provided by the beforeShowDay setting and is currently more flexible in that it allows you to assign any CSS class to individual days. Formatting of individual days should be up to the end user and not dictated by the localisation.
Changed October 11, 2012 09:15PM UTC by comment:5
milestone: | TBD |
---|
Milestone TBD deleted
There is a bug changing the regional settings at runtime
Code like this (demo localization.html in demos)
$(function() {
$.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional['']));
$("#datepicker").datepicker($.datepicker.regional['bg']);
$("#locale").change(function() {
$('#datepicker').datepicker('option', $.extend({showMonthAfterYear: false},
$.datepicker.regional[$(this).val()]));
});
});
does not revert to default isHoliday : function(date) {return false;} but keep Italian holidays. Someone would help me to debug?
See