Commit graph

7 commits

Author SHA1 Message Date
Aric Camarata
f9ad1e52ed fix: convert the displayed calendar date in toHijri for hijri-core's UTC-day contract
toHijri() now passes Date.UTC(year, month, date) to hijri-core instead of the raw
instant from this.toDate(). Fixes wrong-Hijri-day results around UTC-midnight on
hosts east or west of UTC. Lock-step with hijri-core fix/utc-day-boundary.
2026-06-10 16:35:37 -04:00
Aric Camarata
546ec2d302 chore: E6 polish wiki + CI + TypeDoc integration (P1) 2026-05-30 18:38:38 -04:00
Aric Camarata
862ee41be5 style: replace em dashes with colons in docs 2026-03-08 17:28:04 -04:00
Aric Camarata
1d3b0e2fcb docs: add Architecture section to README 2026-03-08 17:10:39 -04:00
Aric Camarata
044bbbd623 docs: add Compatibility and Acknowledgments sections to README 2026-03-08 16:46:30 -04:00
Aric Camarata
c59197d7e6 chore: CR/QA polish for v1.0.0 release
Fix documentation style (no em dashes). Update hijri-core devDep
from file: path to ^1.0.0. Correct UAQ range to 1318-1500 AH /
1900-2076 CE throughout.
2026-02-25 15:13:11 -05:00
Aric Camarata
96dd9c5688 feat: initial release of dayjs-hijri-plus v1.0.0
Day.js plugin adding Hijri calendar support via hijri-core. Adds
toHijri(), fromHijri(), hijriYear/Month/Day(), isValidHijri(), and
formatHijri() to all Day.js instances. Supports UAQ and FCNA calendars
via ConversionOptions. Format token escaping wraps substituted values
in Day.js bracket syntax to prevent re-interpretation as format tokens.
14 ESM + 8 CJS tests passing. Dual CJS/ESM build.
2026-02-25 14:15:07 -05:00