summaryrefslogtreecommitdiff
path: root/public/js/fullcalendar/packages/moment-timezone/index.global.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/fullcalendar/packages/moment-timezone/index.global.js')
-rw-r--r--public/js/fullcalendar/packages/moment-timezone/index.global.js35
1 files changed, 35 insertions, 0 deletions
diff --git a/public/js/fullcalendar/packages/moment-timezone/index.global.js b/public/js/fullcalendar/packages/moment-timezone/index.global.js
new file mode 100644
index 0000000..3f72e00
--- /dev/null
+++ b/public/js/fullcalendar/packages/moment-timezone/index.global.js
@@ -0,0 +1,35 @@
1/*!
2FullCalendar Moment Timezone Plugin v6.1.17
3Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin
4(c) 2024 Adam Shaw
5*/
6FullCalendar.MomentTimezone = (function (exports, core, moment, internal) {
7 'use strict';
8
9 function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
10
11 var moment__default = /*#__PURE__*/_interopDefault(moment);
12
13 class MomentNamedTimeZone extends internal.NamedTimeZoneImpl {
14 offsetForArray(a) {
15 return moment__default["default"].tz(a, this.timeZoneName).utcOffset();
16 }
17 timestampToArray(ms) {
18 return moment__default["default"].tz(ms, this.timeZoneName).toArray();
19 }
20 }
21
22 var plugin = core.createPlugin({
23 name: '@fullcalendar/moment-timezone',
24 namedTimeZonedImpl: MomentNamedTimeZone,
25 });
26
27 core.globalPlugins.push(plugin);
28
29 exports["default"] = plugin;
30
31 Object.defineProperty(exports, '__esModule', { value: true });
32
33 return exports;
34
35})({}, FullCalendar, moment, FullCalendar.Internal);