Skip to main content
Version: 10.0.0-next.6

Buddhist (Thai) Calendar

DayPicker supports the Buddhist (Thai) calendar via a dedicated build. Months and weeks remain Gregorian, while years render in Buddhist Era (BE = CE + 543) and Thai numerals by default.

Install the React package and the Buddhist calendar package:

npm install @daypicker/react@next @daypicker/buddhist@next

Import DayPicker from @daypicker/buddhist to render Buddhist years while keeping the usual DayPicker API.

import { DayPicker } from "@daypicker/buddhist";

Basic usage

import { DayPicker } from "@daypicker/buddhist";

<DayPicker />;

English locale with latin numerals

import { DayPicker, enUS } from "@daypicker/buddhist";

<DayPicker locale={enUS} numerals="latn" />;