-
Notifications
You must be signed in to change notification settings - Fork 0
getCalendar
github-actions[bot] edited this page May 30, 2026
·
1 revision
dayjs-hijri-plus / getCalendar
getCalendar(
name):CalendarEngine
Defined in: node_modules/.pnpm/hijri-core@1.0.0/node_modules/hijri-core/dist/index.d.mts:26
Re-exported registry API from hijri-core. Register, retrieve, or list custom calendar engines without adding hijri-core as a direct dependency.
string
import { registerCalendar, listCalendars } from 'dayjs-hijri-plus';
registerCalendar('my-cal', myEngine);
listCalendars(); // ['uaq', 'fcna', 'my-cal']dayjs-hijri-plus · MIT License · npm · Issues
Guides
Examples
Reference
API Pages
- plugin (default)
- toHijri
- isValidHijri
- hijriYear
- hijriMonth
- hijriDay
- formatHijri
- fromHijri
- registerCalendar
Community