Skip to Content
Kenat is a work in progress project πŸ‘¨πŸ»β€πŸ’»

Kenat: The Ethiopian Calendar Toolkit

A multi-language toolkit for the Ethiopian calendar, offering date conversion, calendar grids, holiday detection, and a headless UI library for React.

Get Started
npm i kenat kenat-ui
...

Powerful Core Logic

`kenat` provides a robust, standalone library for all your Ethiopian calendar needs.

Date Conversion

Effortlessly convert dates between Ethiopian and Gregorian calendars with simple functions like toEC and toGC.

Calendar Grids

Generate complete month data, including headers, days, and holiday information, perfect for building custom calendar UIs.

Date Arithmetic

Reliably add or subtract days, months, and years from any Ethiopian date.

Geez Numerals

Format dates and numbers using traditional Ge'ez script for an authentic cultural representation.

Bahire Hasab

Calculate movable feasts and fasts like Easter and Lent using the ancient Bahire Hasab computational system.

Holiday System

Detect fixed, movable, and tagged holidays with a flexible system that supports filtering by type (e.g., PUBLIC, RELIGIOUS).

Flexible UI with `kenat-ui`

`kenat-ui` is a headless library that gives you maximum control over your UI's appearance while handling all the complex calendar logic for you.

Headless by Design

Get powerful hooks and functions for state management and business logic, without any pre-styled components.

Bring Your Own Styles

You control the markup and styling. Perfect for Tailwind CSS, Chakra UI, or your own design system.

Reusable Components

Build custom date pickers, clocks, and calendars that are fully reusable across different themes and applications.

Ready to Build?

Explore the comprehensive documentation for guides and API references, or dive into the source code on GitHub.