Skip to content

DoranThe Open Source Persian Calendar Ecosystem

A complete, accurate, and developer-friendly toolkit for the Solar Hijri (Jalali) calendar.

Quick start

bash
pnpm add @doranjs/core
ts
import { DoranDate } from '@doranjs/core';

const today = DoranDate.now();

today.format('YYYY/MM/DD'); // "۱۴۰۵/۰۳/۱۱"
today.addDays(10).format('dddd D MMMM YYYY');
today.toGregorian(); // native Date

DoranDate.fromGregorian(new Date());

Released under the MIT License.