@fullcalendar/moment-timezone 6.0.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.global.js +1 -1
- package/index.global.min.js +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -0
- package/package.json +2 -2
package/index.global.js
CHANGED
package/index.global.min.js
CHANGED
package/index.js
CHANGED
package/index.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/MomentNamedTimeZone.ts","../src/index.ts"],"sourcesContent":["import moment from 'moment-timezone'\nimport { NamedTimeZoneImpl } from '@fullcalendar/core/internal'\n\nexport class MomentNamedTimeZone extends NamedTimeZoneImpl {\n offsetForArray(a: number[]): number {\n return moment.tz(a, this.timeZoneName).utcOffset()\n }\n\n timestampToArray(ms: number): number[] {\n return moment.tz(ms, this.timeZoneName).toArray()\n }\n}\n","import { createPlugin, PluginDef } from '@fullcalendar/core'\nimport { MomentNamedTimeZone } from './MomentNamedTimeZone.js'\n\nexport default createPlugin({\n name: '<%= pkgName %>',\n namedTimeZonedImpl: MomentNamedTimeZone,\n}) as PluginDef\n"],"names":[],"mappings":";;;;AAGM,MAAO,mBAAoB,SAAQ,iBAAiB,CAAA;AACxD,IAAA,cAAc,CAAC,CAAW,EAAA;AACxB,QAAA,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,SAAS,EAAE,CAAA;KACnD;AAED,IAAA,gBAAgB,CAAC,EAAU,EAAA;AACzB,QAAA,OAAO,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,CAAA;KAClD;AACF;;ACRD,YAAe,YAAY,CAAC;AAC1B,IAAA,IAAI,EAAE,+BAAgB;AACtB,IAAA,kBAAkB,EAAE,mBAAmB;AACxC,CAAA,CAAc;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fullcalendar/moment-timezone",
|
3
|
-
"version": "6.0.
|
3
|
+
"version": "6.0.2",
|
4
4
|
"title": "FullCalendar Moment Timezone Plugin",
|
5
5
|
"description": "Enhanced named time zone functionality with Moment Timezone",
|
6
6
|
"keywords": [
|
@@ -14,7 +14,7 @@
|
|
14
14
|
],
|
15
15
|
"homepage": "https://fullcalendar.io/docs/moment-timezone-plugin",
|
16
16
|
"peerDependencies": {
|
17
|
-
"@fullcalendar/core": "~6.0.
|
17
|
+
"@fullcalendar/core": "~6.0.2",
|
18
18
|
"moment-timezone": "^0.5.31"
|
19
19
|
},
|
20
20
|
"type": "module",
|