Socket
Socket
Sign inDemoInstall

@fullcalendar/moment

Package Overview
Dependencies
3
Maintainers
1
Versions
55
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
44K
decreased by-6.48%
Maintainers
1
Install size
16.2 kB
Created
Weekly downloads
 

Changelog

Source

6.1.10 (2023-11-28)

  • feature: Angular version 17 support (#7525)
  • fix: Vue 3 background event with custom rendering, not receiving el in eventDidMount (#7524)
  • fix: font-icon elements should have role="img" (#7501)
  • locale: fix bg (#7493)
  • locale: fix ca (#7394)
  • locale: fix nl (#7471)

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 29 Nov 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