Ethiopic Calendar
DayPicker supports the Ethiopic calendar via a dedicated build.
Install the React package and the Ethiopic calendar package:
- npm
- Yarn
- pnpm
- Bun
npm install @daypicker/react@next @daypicker/ethiopic@next
yarn add @daypicker/react@next @daypicker/ethiopic@next
pnpm add @daypicker/react@next @daypicker/ethiopic@next
bun add @daypicker/react@next @daypicker/ethiopic@next
Import DayPicker from @daypicker/ethiopic to display Ethiopic months, weekdays, and numerals while keeping the usual DayPicker API.
import { DayPicker } from "@daypicker/ethiopic";
Basic usage
By default, the locale is amET with Ge'ez numerals.
import { DayPicker } from "@daypicker/ethiopic";
<DayPicker />;
If you need the locale object directly, import amET from
@daypicker/ethiopic:
import { amET } from "@daypicker/ethiopic";
Latin numerals
Switch to Latin numerals:
import { DayPicker } from "@daypicker/ethiopic";
<DayPicker numerals="latn" />;