@fullcalendar/moment v6.1.15
FullCalendar Moment Plugin
Enhanced date formatting and conversion with Moment
Installation
First, ensure Moment is installed:
npm install moment
Then, install the FullCalendar core package, the Moment plugin, and any other plugins (like daygrid):
npm install @fullcalendar/core @fullcalendar/moment @fullcalendar/daygrid
Usage
Instantiate a Calendar with the necessary plugin:
import { Calendar } from '@fullcalendar/core'
import momentPlugin from '@fullcalendar/moment'
import dayGridPlugin from '@fullcalendar/daygrid'
const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
plugins: [
momentPlugin,
dayGridPlugin
],
initialView: 'dayGridMonth',
titleFormat: 'MMMM D, YYYY' // use Moment format strings
})
calendar.render()
2 months ago
1 month ago
4 months ago
6 months ago
6 months ago
6 months ago
9 months ago
12 months ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago