diff options
author | polo <ordipolo@gmx.fr> | 2025-06-23 03:33:38 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2025-06-23 03:33:38 +0200 |
commit | cebc19ef236aac2968d2ffccfcff9b975b63fa8d (patch) | |
tree | 5b8e08045a45063475f533bfae4b4524720fe7bd /public/js/fullcalendar/packages/moment-timezone | |
parent | 8cf5ac1abf9e2a6134cb82d4582aecaa99b1331a (diff) | |
download | cms-cebc19ef236aac2968d2ffccfcff9b975b63fa8d.zip |
fullcalendar
Diffstat (limited to 'public/js/fullcalendar/packages/moment-timezone')
-rw-r--r-- | public/js/fullcalendar/packages/moment-timezone/index.global.js | 35 | ||||
-rw-r--r-- | public/js/fullcalendar/packages/moment-timezone/index.global.min.js | 6 |
2 files changed, 41 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 | /*! | ||
2 | FullCalendar Moment Timezone Plugin v6.1.17 | ||
3 | Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin | ||
4 | (c) 2024 Adam Shaw | ||
5 | */ | ||
6 | FullCalendar.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); | ||
diff --git a/public/js/fullcalendar/packages/moment-timezone/index.global.min.js b/public/js/fullcalendar/packages/moment-timezone/index.global.min.js new file mode 100644 index 0000000..b5cf8ce --- /dev/null +++ b/public/js/fullcalendar/packages/moment-timezone/index.global.min.js | |||
@@ -0,0 +1,6 @@ | |||
1 | /*! | ||
2 | FullCalendar Moment Timezone Plugin v6.1.17 | ||
3 | Docs & License: https://fullcalendar.io/docs/moment-timezone-plugin | ||
4 | (c) 2024 Adam Shaw | ||
5 | */ | ||
6 | 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 | ||