Socket
Socket
Sign inDemoInstall

@fullcalendar/moment

Package Overview
Dependencies
3
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fullcalendar/moment

Enhanced date formatting and conversion with Moment


Version published
Weekly downloads
48K
decreased by-2.71%
Maintainers
1
Install size
16.2 kB
Created
Weekly downloads
 

Changelog

Source

6.1.11 (2024-02-19)

General

  • fix: fc-event-past className not attached to events that end midnight before today (#6120, #6486)
  • fix: aria-labelledby on view container should not exist when headerToolbar:false (#6884)

DayGrid and MultiMonth

  • fix: possible infinite recursion with dayGrid, dayMaxEventRows, and many hidden event rows (#7462)
  • fix: incorrectly put events under +more link (#7002, #6608, #6900)

React

  • fix: events incorrectly positioned w/ React strict-mode (#7574, #7389, #7400)

Angular

  • fix: Angular 17 SRR error with el.getRootNode (#7550)

React/Vue/Angular Connectors and Adaptive plugin

  • fix: eventContent custom content not rendering within print-mode (#7419)

Readme

Source

FullCalendar Moment Plugin

Enhanced date formatting and conversion with Moment

Installation

First, ensure Moment is installed:

npm install moment

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

npm install @fullcalendar/core @fullcalendar/moment @fullcalendar/daygrid

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import momentPlugin from '@fullcalendar/moment'
import dayGridPlugin from '@fullcalendar/daygrid'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [
    momentPlugin,
    dayGridPlugin
  ],
  initialView: 'dayGridMonth',
  titleFormat: 'MMMM D, YYYY' // use Moment format strings
})

calendar.render()

Keywords

FAQs

Last updated on 20 Feb 2024

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