下面的代码是关于英文日历:
<script>
$(document).ready(function() {
var calendar = $('#notice_calendar');
$('#notice_calendar').fullCalendar({
header: {
left: 'title',
right: 'today prev,next'
},
//defaultView: 'basicWeek',
editable: false,
firstDay: 1,
height: 530,
droppable: false,
});
});
</script>
我想将此代码更改为具有法语日历。 French calendar
答案 0 :(得分:0)
从this doc,您可以使用选项lang: 'fr'
:
<script src='fullcalendar/fullcalendar.js'></script>
<script src='fullcalendar/lang-all.js'></script>
<script>
$(document).ready(function() {
$('#notice_calendar').fullCalendar({
header: {
left: 'title',
right: 'today prev,next'
},
//defaultView: 'basicWeek',
editable: false,
firstDay: 1,
height: 530,
droppable: false,
lang: 'fr'
});
});
</script>