area-51/lib/fullcalendar-6.1.14/packages/moment-timezone/index.global.min.js

6 lines
661 B
JavaScript
Raw Normal View History

2025-01-30 04:21:55 +01:00
/*!
FullCalendar Moment Timezone Plugin v6.1.14
Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin
(c) 2024 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);