
Product
Introducing Module Reachability: Focus on the Vulnerabilities That Matter
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
@fullcalendar/luxon2
Advanced tools
Enhanced date formatting, conversion, and named time zone functionality with Luxon 2
Enhanced date formatting, conversion, and named time zone functionality with Luxon 2
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
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()
FAQs
Enhanced date formatting, conversion, and named time zone functionality with Luxon 2
We found that @fullcalendar/luxon2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Product
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
Research
Security News
Socket researchers uncovered malicious npm and PyPI packages that steal crypto wallet credentials using Google Analytics and Telegram for exfiltration.