aboutsummaryrefslogtreecommitdiffstats
path: root/library/fullcalendar/packages/moment-timezone/index.global.min.js
blob: 0cd5ac4440ee555784ae28e379ce459d22012971 (plain) (blame)
1
2
3
4
5
6
/*!
FullCalendar Moment Timezone Plugin v6.0.3
Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin
(c) 2022 Adam Shaw
*/
FullCalendar.MomentTimezone=function(e,t,n,a){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}var r=l(n);class u extends a.NamedTimeZoneImpl{offsetForArray(e){return r.default.tz(e,this.timeZoneName).utcOffset()}timestampToArray(e){return r.default.tz(e,this.timeZoneName).toArray()}}var m=t.createPlugin({name:"@fullcalendar/moment-timezone",namedTimeZonedImpl:u});return t.globalPlugins.push(m),e.default=m,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,moment,FullCalendar.Internal);