@@ -27,10 +27,16 @@ With the `@calidy/dayjs-calendarsystems` plugin, we bring the capacity to run an
27
27
## Features
28
28
29
29
- Register and use different calendar systems.
30
+ - Typescript exports and definitions.
31
+ - Compatible with all official Dayjs plugins.
32
+ - No need for hacks, use dayjs apis in the standard way.
33
+ - Small and light plugin, no overhead.
30
34
- Convert between different calendar systems.
31
35
- Default Gregorian calendar system included.
32
36
- Persian Calendar system available.
33
- - Other calendar systems are still under development.
37
+ - ** [ WIP] ** Islamic (Hijri, Umalqura) Calendar system. Note: we will use the default "islamic-umalqura" calendar system for "islamic" calendar system.
38
+ - ** [ WIP] ** Hebrew (Jewish) Calendar system.
39
+ - ** [ WIP] ** Ethiopian Calendar system.
34
40
- ** [ TODO] ** Parse date strings from different calendar systems
35
41
- ** [ TODO] ** Add more tests for all Dayjs Plugins
36
42
@@ -60,6 +66,10 @@ import calendarSystems from "@calidy/dayjs-calendarsystems";
60
66
61
67
import PersianCalendarSystem from " @calidy/dayjs-calendarsystems/calendarSystems/PersianCalendarSystem" ;
62
68
69
+ // ...
70
+ // ALL YOU OTHER dayjs.extend() calls
71
+ // ...
72
+ // After all other dayjs plugins are initialized, extend dayjs with our calendar systems plugin:
63
73
dayjs .extend (calendarSystems);
64
74
65
75
// Register new calendar system
0 commit comments