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

6.1.17 • Public • Published

FullCalendar Luxon 1 Plugin

Enhanced date formatting, conversion, and named time zone functionality with Luxon 1

Installation

First, ensure Luxon is installed:

npm install luxon@1

Then, install the FullCalendar core package, the Luxon plugin, and any other plugins (like daygrid):

npm install @fullcalendar/core @fullcalendar/luxon @fullcalendar/daygrid

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import luxonPlugin from '@fullcalendar/luxon'
import dayGridPlugin from '@fullcalendar/daygrid'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [
    luxonPlugin,
    dayGridPlugin
  ],
  initialView: 'dayGridMonth',
  titleFormat: 'LLLL d, yyyy', // use Luxon format strings
  timeZone: 'America/New_York' // enhance named time zones
})

calendar.render()

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.11.5461legacy
6.1.17177latest
7.0.0-beta.40beta
7.0.0-rc.01rc

Version History

VersionDownloads (Last 7 Days)Published
6.1.17177
7.0.0-rc.01
7.0.0-beta.40
7.0.0-beta.30
7.0.0-beta.10
7.0.0-beta.00
6.1.15193
6.1.142
6.1.1325
6.1.120
6.1.1113,949
6.1.1035
6.1.9660
6.1.854
6.1.70
5.11.5461
6.1.60
6.1.57
6.1.40
6.1.30
6.1.10
6.1.01
5.11.40
6.0.30
6.0.20
6.0.10
6.0.00
6.0.0-beta.40
6.0.0-beta.30
6.0.0-beta.20
5.11.3929
6.0.0-beta.10
5.11.23
5.11.06
5.10.1168
5.10.01
5.9.0450
5.8.00
5.7.2191
5.7.00
5.6.027
5.5.030
5.4.01
5.3.1193
5.3.00
5.2.01
5.1.00
5.0.00
5.0.0-rc0
4.4.2416
5.0.0-beta.41
5.0.0-beta.30
5.0.0-beta.20
5.0.0-beta.10
4.4.034
4.3.053
4.2.00
4.1.00
4.0.10
4.0.0-beta.40
4.0.0-beta.30
4.0.0-beta.20

Package Sidebar

Install

npm i @fullcalendar/luxon

Weekly Downloads

18,069

Version

6.1.17

License

MIT

Unpacked Size

17.7 kB

Total Files

8

Last publish

Collaborators

  • arshaw