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

6.1.18 • 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.51,243legacy
6.1.1883latest
7.0.0-rc.06rc
7.0.0-beta.43beta

Version History

VersionDownloads (Last 7 Days)Published
6.1.1883
6.1.17210
7.0.0-rc.06
7.0.0-beta.43
7.0.0-beta.33
7.0.0-beta.12
7.0.0-beta.01
6.1.15225
6.1.142
6.1.1380
6.1.122
6.1.11732
6.1.1027
6.1.9163
6.1.8132
6.1.71
5.11.51,243
6.1.60
6.1.56
6.1.40
6.1.32
6.1.10
6.1.01
5.11.42
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.3825
6.0.0-beta.11
5.11.22
5.11.08
5.10.1428
5.10.01
5.9.0723
5.8.078
5.7.254
5.7.00
5.6.045
5.5.0111
5.4.00
5.3.1294
5.3.01
5.2.00
5.1.00
5.0.00
5.0.0-rc0
4.4.2343
5.0.0-beta.40
5.0.0-beta.30
5.0.0-beta.20
5.0.0-beta.10
4.4.05
4.3.020
4.2.01
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

5,866

Version

6.1.18

License

MIT

Unpacked Size

17.7 kB

Total Files

8

Last publish

Collaborators

  • arshaw