arshaw b0c1d6c612 RELEASING: Releasing 33 package(s) 1 month ago
..
src 229b88d3e0 move globalLocales and globalPlugins to public (not internal). fixes #7057 3 years ago
.eslintrc.cjs 613ab5765f Adjust pkg names to @fullcalenadar-tests/*, @fullcalenadar-scripts/*, and @fullcalenadar-monorepos/* 1 year ago
README.md 4cf4f54d3f fixup more readmes 3 years ago
package.json b0c1d6c612 RELEASING: Releasing 33 package(s) 1 month ago

README.md

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()