@@ -, +, @@ table --- .../intranet-tmpl/prog/en/modules/tools/discrete_calendar.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/discrete_calendar.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/discrete_calendar.tt @@ -666,7 +666,8 @@ $("#holidayweeklyrepeatable>tbody>tr").each(function() { var first_td = $(this).find('td').first(); - first_td.html(weekdays[first_td.html()]); + var date_index = parseInt(first_td.html()) - 1; + first_td.html(weekdays[date_index]); }); $("#holidayweeklyrepeatable").dataTable($.extend(true, {}, dataTablesDefaults, { "sDom": 't', --