@fullcalendar/luxon3 6.1.8 → 6.1.9
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/README.md +6 -6
- package/index.global.js +1 -1
- package/index.global.min.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
# FullCalendar Luxon
|
|
2
|
+
# FullCalendar Luxon 3 Plugin
|
|
3
3
|
|
|
4
|
-
Enhanced date formatting, conversion, and [named time zone](https://fullcalendar.io/docs/timeZone#named-time-zones) functionality with [Luxon](https://moment.github.io/luxon/)
|
|
4
|
+
Enhanced date formatting, conversion, and [named time zone](https://fullcalendar.io/docs/timeZone#named-time-zones) functionality with [Luxon](https://moment.github.io/luxon/) 3
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
8
|
First, ensure Luxon is installed:
|
|
9
9
|
|
|
10
10
|
```sh
|
|
11
|
-
npm install luxon@
|
|
11
|
+
npm install luxon@3
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
Then, install the FullCalendar core package, the Luxon plugin, and any other plugins (like [daygrid](https://fullcalendar.io/docs/month-view)):
|
|
15
15
|
|
|
16
16
|
```sh
|
|
17
|
-
npm install @fullcalendar/core @fullcalendar/
|
|
17
|
+
npm install @fullcalendar/core @fullcalendar/luxon3 @fullcalendar/daygrid
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
## Usage
|
|
@@ -23,13 +23,13 @@ Instantiate a Calendar with the necessary plugin:
|
|
|
23
23
|
|
|
24
24
|
```js
|
|
25
25
|
import { Calendar } from '@fullcalendar/core'
|
|
26
|
-
import
|
|
26
|
+
import luxon3Plugin from '@fullcalendar/luxon3'
|
|
27
27
|
import dayGridPlugin from '@fullcalendar/daygrid'
|
|
28
28
|
|
|
29
29
|
const calendarEl = document.getElementById('calendar')
|
|
30
30
|
const calendar = new Calendar(calendarEl, {
|
|
31
31
|
plugins: [
|
|
32
|
-
|
|
32
|
+
luxon3Plugin,
|
|
33
33
|
dayGridPlugin
|
|
34
34
|
],
|
|
35
35
|
initialView: 'dayGridMonth',
|
package/index.global.js
CHANGED
package/index.global.min.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullcalendar/luxon3",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.9",
|
|
4
4
|
"title": "FullCalendar Luxon 3 Plugin",
|
|
5
5
|
"description": "Enhanced date formatting, conversion, and named time zone functionality with Luxon 3",
|
|
6
6
|
"keywords": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"homepage": "https://fullcalendar.io/docs/luxon",
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@fullcalendar/core": "~6.1.
|
|
17
|
+
"@fullcalendar/core": "~6.1.9",
|
|
18
18
|
"luxon": "^3.0.0"
|
|
19
19
|
},
|
|
20
20
|
"type": "module",
|