Bangla dates
without the friction
Bangla calendar conversion, localized formatting, relative time, parsing, and SSR-safe React components in one small package.
import { format } from '@coreify/tarikh';
format(new Date(), { mode: "standard" });
// -> "31 Mar 2026"
format(new Date(), {
mode: "standard",
locale: "bn-BD"
});
// -> "৩১ মার্চ ২০২৬"The Problem
Most date libraries stop at Gregorian formatting. They do not handle Bangla calendar conversion, spoken Bangla day names, or the mix of English and Bangla that production apps in Bangladesh often need.
Tarikh
A focused toolkit for formatting, parsing, localization, and React rendering. Use one API for standard dates, Bangla dates, hybrid output, and relative time.
Core API
@coreify/tarikh
v1.0.1Format dates in standard, Bangla, or hybrid modes. Convert Gregorian dates to the Bengali calendar, render spoken Bangla output, and parse common date strings.
Read docsimport { format } from '@coreify/tarikh';
format(new Date(), { mode: "standard" });
// -> "31 Mar 2026"
format(new Date(), {
mode: "standard",
locale: "bn-BD"
});
// -> "৩১ মার্চ ২০২৬"@coreify/tarikh/react
optionalSSR-safe React components for standard, relative, and Bangla date output. Semantic <time> elements, optional markup, and no runtime dependencies beyond React.
import { format } from '@coreify/tarikh';
format(new Date(), { mode: "standard" });
// -> "31 Mar 2026"
format(new Date(), {
mode: "standard",
locale: "bn-BD"
});
// -> "৩১ মার্চ ২০২৬"Why Tarikh
Bangla calendar
Convert Gregorian dates into Bengali calendar dates with spoken output, month names, and localized digits.
Single API
Use `format()` for standard, Bangla, and hybrid output. Reach for `fromNow()`, `parseDate()`, and the helper utilities only when you need them.
Start building
One package, no extra runtime dependencies, and full TypeScript support.