aboutsummaryrefslogblamecommitdiffstats
path: root/library/fullcalendar/packages/moment-timezone/index.global.min.js
blob: 71bd028480445481b3243e47f880544f69c84dd9 (plain) (tree)
1
2
3
4
5
6
   
                                          
                                                                   
                  

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
/*!
FullCalendar Moment Timezone Plugin v6.1.8
Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin
(c) 2023 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);