Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
@fullcalendar/moment-timezone
Advanced tools
Changelog
6.1.11 (2024-02-19)
Readme
Enhanced named time zone functionality with Moment Timezone
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
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()
FAQs
Enhanced named time zone functionality with Moment Timezone
The npm package @fullcalendar/moment-timezone receives a total of 51,948 weekly downloads. As such, @fullcalendar/moment-timezone popularity was classified as popular.
We found that @fullcalendar/moment-timezone 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.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.