aboutsummaryrefslogtreecommitdiffstats
path: root/library/fullcalendar/packages/moment-timezone
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-25 13:09:00 +0000
committerMario <mario@mariovavti.com>2023-01-25 13:09:00 +0000
commita9ae17036d30a676c833a6ddb98409f19cbbd963 (patch)
tree66d29806350386a585dcbf4aa20f51cda4da6c49 /library/fullcalendar/packages/moment-timezone
parent08e925758e920b898ac2d08710eab2f9638fe276 (diff)
downloadvolse-hubzilla-a9ae17036d30a676c833a6ddb98409f19cbbd963.tar.gz
volse-hubzilla-a9ae17036d30a676c833a6ddb98409f19cbbd963.tar.bz2
volse-hubzilla-a9ae17036d30a676c833a6ddb98409f19cbbd963.zip
update fullcalendar
Diffstat (limited to 'library/fullcalendar/packages/moment-timezone')
-rw-r--r--library/fullcalendar/packages/moment-timezone/index.global.js35
-rw-r--r--library/fullcalendar/packages/moment-timezone/index.global.min.js6
2 files changed, 41 insertions, 0 deletions
diff --git a/library/fullcalendar/packages/moment-timezone/index.global.js b/library/fullcalendar/packages/moment-timezone/index.global.js
new file mode 100644
index 000000000..dd736679d
--- /dev/null
+++ b/library/fullcalendar/packages/moment-timezone/index.global.js
@@ -0,0 +1,35 @@
+/*!
+FullCalendar Moment Timezone Plugin v6.0.3
+Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin
+(c) 2022 Adam Shaw
+*/
+FullCalendar.MomentTimezone = (function (exports, core, moment, internal) {
+ 'use strict';
+
+ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
+
+ var moment__default = /*#__PURE__*/_interopDefault(moment);
+
+ class MomentNamedTimeZone extends internal.NamedTimeZoneImpl {
+ offsetForArray(a) {
+ return moment__default["default"].tz(a, this.timeZoneName).utcOffset();
+ }
+ timestampToArray(ms) {
+ return moment__default["default"].tz(ms, this.timeZoneName).toArray();
+ }
+ }
+
+ var plugin = core.createPlugin({
+ name: '@fullcalendar/moment-timezone',
+ namedTimeZonedImpl: MomentNamedTimeZone,
+ });
+
+ core.globalPlugins.push(plugin);
+
+ exports["default"] = plugin;
+
+ Object.defineProperty(exports, '__esModule', { value: true });
+
+ return exports;
+
+})({}, FullCalendar, moment, FullCalendar.Internal);
diff --git a/library/fullcalendar/packages/moment-timezone/index.global.min.js b/library/fullcalendar/packages/moment-timezone/index.global.min.js
new file mode 100644
index 000000000..0cd5ac444
--- /dev/null
+++ b/library/fullcalendar/packages/moment-timezone/index.global.min.js
@@ -0,0 +1,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); \ No newline at end of file