#4610 closed enhancement (wontfix)
Holidays highlight in ui.datepicker
Reported by: | 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 (7)
Changed 14 years ago by
Attachment: | ui.datepicker.js added |
---|
Changed 14 years ago by
Attachment: | ui.datepicker-it.js added |
---|
A 1.7.2 modified version of ui.datepicker-it.js working with Italian official holidays
comment:1 follow-up: 2 Changed 14 years ago by
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.regionalbg?); $("#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
comment:2 follow-up: 3 Changed 14 years ago by
Replying to [email protected]…:
There is a bug changing the regional settings at runtime
It's a bug related to the demo, see #4612
comment:3 Changed 14 years ago by
Replying to [email protected]…:
There is a bug changing the regional settings at runtime
It's a bug related to the demo, see / Ticket #4612
(sorry, previous link was malformed)
comment:4 Changed 14 years ago by
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.
A 1.7.2 modified version of ui.datepicker.js