jQuery FullCalendar accents in dayView -
i think bug. setup names (in italian) of days:
daynames:['domenica','lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato']
the name shown correctly in header of dayview
not in subheader.
does know why?
same problem. solved changing function "htmlescape" in file fullcalendar.js add:
.replace(/ì/g, 'ì')
the function work correctly me (i need italian language in application), must add character correctly encod in day names
function htmlescape(s) { return (s + '').replace(/&/g, '&') .replace(/</g, '<') .replace(/>/g, '>') .replace(/'/g, ''') .replace(/"/g, '"') .replace(/ì/g, 'ì') .replace(/\n/g, '<br />'); }
Comments
Post a Comment