@fullcalendar/moment
TypeScript icon, indicating that this package has built-in type declarations

6.1.15 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.1.159,092latest
5.11.56,064legacy
7.0.0-beta.15beta

Version History

VersionDownloads (Last 7 Days)Published
7.0.0-beta.15
7.0.0-beta.01
6.1.159,092
6.1.141,391
6.1.13148
6.1.121
6.1.112,462
6.1.101,816
6.1.91,057
6.1.81,380
6.1.7163
5.11.56,064
6.1.692
6.1.5815
6.1.452
6.1.31
6.1.141
6.1.01
5.11.41,797
6.0.3269
6.0.222
6.0.11
6.0.05
6.0.0-beta.41
6.0.0-beta.31
6.0.0-beta.21
5.11.3433
6.0.0-beta.153
5.11.2183
5.11.01,468
5.10.1859
5.10.0297
5.9.0615
5.8.0666
5.7.285
5.7.070
5.6.0279
5.5.03,972
5.4.033
5.3.170
5.3.08
5.2.01
5.1.030
5.0.01
5.0.0-rc1
4.4.27,104
5.0.0-beta.41
5.0.0-beta.34
5.0.0-beta.21
5.0.0-beta.13
4.4.0597
4.3.0527
4.2.082
4.1.0107
4.0.11
4.0.0-beta.41
4.0.0-beta.34
4.0.0-beta.21

Package Sidebar

Install

npm i @fullcalendar/moment

Weekly Downloads

44,239

Version

6.1.15

License

MIT

Unpacked Size

16.6 kB

Total Files

8

Last publish

Collaborators

  • arshaw