Socket
Socket
Sign inDemoInstall

@fullcalendar/luxon2

Package Overview
Dependencies
0
Maintainers
1
Versions
27
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
5.3K
decreased by-22.35%
Maintainers
1
Install size
17.3 kB
Created
Weekly downloads
 

Changelog

Source

6.1.5 (2023-03-21)

  • fix: inject static runtime stylesheets near top of head, avoid CSS precedence problems (#7220)
  • fix: prevent unnecessary reflows during clicking (potentially solves #7209)
  • fix: RRule events w/ wrong dates after being dynamically updated (#7230)
  • fix: incorrect calendar dimensions when first rendered in Ionic-Angular (#4976)
  • fix: dayGrid timed events w/ custom eventContent fire eventDidMount w/ stale element (#7191)
  • fix: resource-timeline crashes when resourceGroupLaneContent is set (#7203)
  • fix: buggy dragging of timed event from timegrid more-popover to all-day slot (#7222)
  • fix: timeline slots do not fill print version if initially scrolled (#6859)
  • fix: Resource::getParent() returns undefined (#7023)
  • fix: Preact breaking .d.ts changes, using more specific semver range (#7225)
  • fix: broken daygrid-related styles in timegrid/multimonth if daygrid not loaded (#7238)
  • fix: support Vue dash-name slot names, for use with script tags (#7078)
  • fix: Nuxt 2 error: Cannot read properties of undefined (reading 'isHiddenDay') (#7217)
  • fix: Vue 2 SSR broken

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 Mar 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