Socket
Socket
Sign inDemoInstall

@fullcalendar/moment-timezone

Package Overview
Dependencies
4
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @fullcalendar/moment-timezone

Enhanced named time zone functionality with Moment Timezone


Version published
Weekly downloads
54K
decreased by-2.85%
Maintainers
1
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 Timezone Plugin

Enhanced named time zone functionality with Moment Timezone

Installation

First, ensure Moment Timezone is installed:

npm install moment-timezone

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

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

Usage

Instantiate a Calendar with the necessary plugin:

import { Calendar } from '@fullcalendar/core'
import momentTimezonePlugin from '@fullcalendar/moment-timezone'
import dayGridPlugin from '@fullcalendar/daygrid'

const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
  plugins: [
    momentTimezonePlugin,
    dayGridPlugin
  ],
  initialView: 'dayGridMonth',
  timeZone: 'America/New_York' // enhance named time zones
})

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