mirror of
https://github.com/acamarata/moment-hijri-plus.git
synced 2026-06-30 18:54:29 +00:00
Moment.js plugin adding Hijri calendar support via hijri-core. Adds toHijri(), fromHijri(), hijriYear/Month/Day(), isValidHijri(), and formatHijri() to all Moment instances via fn prototype and module augmentation. Format token escaping wraps substituted values in moment bracket syntax [...] to prevent re-interpretation. UTC-midnight date shift corrected by using getUTC* components + moment([y, m, d]) construction. 14 ESM + 8 CJS tests passing. Dual CJS/ESM build.
12 lines
106 B
Text
12 lines
106 B
Text
node_modules/
|
|
dist/
|
|
*.tgz
|
|
*.log
|
|
.DS_Store
|
|
.claude/
|
|
.env
|
|
.env.*
|
|
|
|
# AI agent directories
|
|
.cursor/
|
|
.copilot/
|