Socket
Socket
Sign inDemoInstall

@fullcalendar/luxon2

Package Overview
Dependencies
3
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fullcalendar/luxon2

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


Version published
Weekly downloads
4.3K
decreased by-21.3%
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

6.1.9 (2023-09-21)

  • fix: Table selection is not prevented when long pressing to drag events in Safari (#7441)
  • fix: Custom event rendering with white-space:normal can causes infinite loop (#7447)
  • fix: eventClick does not fire for allDay events with async provided resources (#7365)
  • fix: eventContent with Preact nodes (via createElement) not rendering (#7342)
  • fix: React 16: calling calendarApi methods within useEffect causes fatal error (#7448)
  • fix: Angular/Vue2: dot-event element from eventDidMount does not exists in the DOM (#7191)
  • fix: Angular Universal: document is not defined error (#7352)

Readme

Source

FullCalendar Luxon 2 Plugin

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

Installation

First, ensure Luxon is installed:

npm install luxon@2

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

npm install @fullcalendar/core @fullcalendar/luxon2 @fullcalendar/daygrid

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import luxon2Plugin from '@fullcalendar/luxon2'
import dayGridPlugin from '@fullcalendar/daygrid'

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

calendar.render()

Keywords

FAQs

Last updated on 21 Sep 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc