{"_id":"@cinacalendar/moment-timezone","name":"@cinacalendar/moment-timezone","dist-tags":{"latest":"6.1.20"},"versions":{"6.1.20":{"name":"@cinacalendar/moment-timezone","version":"6.1.20","title":"CinaCalendar Moment Timezone Plugin","description":"Enhanced named time zone functionality with Moment Timezone","keywords":["calendar","event","full-sized","cinacalendar","moment","moment-timezone","timezone"],"homepage":"https://cinacalendar.com/docs/moment-timezone-plugin","peerDependencies":{"@cinacalendar/core":"~6.1.20","moment-timezone":"^0.5.40"},"type":"module","dependencies":{},"bugs":{"url":"https://github.com/cinagroup/cinacalendar/issues"},"repository":{"type":"git","url":"git+https://github.com/cinagroup/cinacalendar.git","directory":"packages/moment-timezone"},"license":"MIT","author":{"name":"CinaGroup","email":"info@cinagroup.com","url":"https://cinagroup.com"},"copyright":"2024 Adam Shaw; 2026 CinaGroup","types":"./index.d.ts","main":"./index.cjs","module":"./index.js","unpkg":"./index.global.min.js","jsdelivr":"./index.global.min.js","exports":{"./package.json":"./package.json","./index.cjs":"./index.cjs","./index.js":"./index.js",".":{"types":"./index.d.ts","require":"./index.cjs","import":"./index.js"}},"sideEffects":false,"_id":"@cinacalendar/moment-timezone@6.1.20","gitHead":"6605d2991684995de6223f99227a16e13967c1f9","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-p7xs6VzDJR99BNTw312Sgf9I1F8dMykmAuXeSVQDcgt7C97fCyTprDTrIaJ3kRwEjpPFBvaaHuXfGe3qDqoFnQ==","shasum":"9bb94a23a6af626418cb364cb7047b98625469e7","tarball":"https://registry.npmjs.org/@cinacalendar/moment-timezone/-/moment-timezone-6.1.20.tgz","fileCount":8,"unpackedSize":6969,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHics0PQRphXRolunK/0uhI/X5ATToxJ/xB1ruiKUCfKAiEAoeotGs9skn8Q822z/IpmwAgQSm4v5uOQGP2Xxt0aDog="}]},"_npmUser":{"name":"cinagroup","email":"yeht@qq.com"},"directories":{},"maintainers":[{"name":"cinagroup","email":"yeht@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/moment-timezone_6.1.20_1779092325139_0.412551542321105"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-18T08:18:45.021Z","6.1.20":"2026-05-18T08:18:45.283Z","modified":"2026-05-18T08:18:45.548Z"},"maintainers":[{"name":"cinagroup","email":"yeht@qq.com"}],"description":"Enhanced named time zone functionality with Moment Timezone","homepage":"https://cinacalendar.com/docs/moment-timezone-plugin","keywords":["calendar","event","full-sized","cinacalendar","moment","moment-timezone","timezone"],"repository":{"type":"git","url":"git+https://github.com/cinagroup/cinacalendar.git","directory":"packages/moment-timezone"},"author":{"name":"CinaGroup","email":"info@cinagroup.com","url":"https://cinagroup.com"},"bugs":{"url":"https://github.com/cinagroup/cinacalendar/issues"},"license":"MIT","readme":"\n# CinaCalendar Moment Timezone Plugin\n\nEnhanced [named time zone](https://cinacalendar.com/docs/timeZone#named-time-zones) functionality with [Moment Timezone](https://momentjs.com/timezone/)\n\n## Installation\n\nFirst, ensure Moment Timezone is installed:\n\n```sh\nnpm install moment-timezone\n```\n\nThen, install the CinaCalendar core package, the Moment Timezone plugin, and any other plugins (like [daygrid](https://cinacalendar.com/docs/month-view)):\n\n```sh\nnpm install @cinacalendar/core @cinacalendar/moment-timezone @cinacalendar/daygrid\n```\n\n## Usage\n\nInstantiate a Calendar with the necessary plugin:\n\n```js\nimport { Calendar } from '@cinacalendar/core'\nimport momentTimezonePlugin from '@cinacalendar/moment-timezone'\nimport dayGridPlugin from '@cinacalendar/daygrid'\n\nconst calendarEl = document.getElementById('calendar')\nconst calendar = new Calendar(calendarEl, {\n  plugins: [\n    momentTimezonePlugin,\n    dayGridPlugin\n  ],\n  initialView: 'dayGridMonth',\n  timeZone: 'America/New_York' // enhance named time zones\n})\n\ncalendar.render()\n```\n","readmeFilename":"README.md","_rev":"1-64af7b61408c4b6e99dca1672fbb6eb4"}