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

Ethiopian Calendar Toolkit

Complete date conversion, holiday detection, and custom calendar UI logic. A robust, lightweight, multi-language library built for developers.

... downloads
npm install kenat kenat-ui

Interactive Playground

See the Ethiopian Calendar Toolkit in action. Toggle between interactive demos and review clean implementation codes.

Interactive Playground

Date Conversion

Convert seamlessly between Ethiopian (EC) and Gregorian (GC) calendars.

Ethiopian (EC) β†’ Gregorian (GC)

GC Date: 2026/7/2

Gregorian (GC) β†’ Ethiopian (EC)

EC Date: 2018/10/25

import { toEC, toGC } from 'kenat';

// 1. Convert Gregorian to Ethiopian
const ecDate = toEC(2026, 7, 2);
// Returns: { year: 2018, month: 10, day: 25 }

// 2. Convert Ethiopian to Gregorian
const gcDate = toGC(2018, 10, 25);
// Returns: { year: 2026, month: 7, day: 2 }
npm i kenatindex.js
Core Library Features

Powerful Core Logic

`kenat` provides a robust, zero-dependency engine for parsing, converting, and formatting Ethiopian dates.

core

Date Conversion

Effortlessly convert dates between Ethiopian and Gregorian calendars using highly-optimized conversion formulas.

core

Calendar Grids

Generate month structures, including weekday headers, Ge'ez days, and matching Gregorian values, ready for frontend UI tables.

core

Date Arithmetic

Perform reliable mathematical calculations, adding or subtracting days, months, and years relative to any Ethiopian epoch.

core

Geez Numerals

Support traditional Ge'ez scripts with native number-to-Geez formatting utilities for culturally accurate UIs.

core

Bahire Hasab

Calculate movable Christian feasts and fasts (Easter, Nineveh, Lent) for any given year based on ancient calendar calculations.

core

Holiday System

Identify fixed and dynamic holidays with custom filtering (PUBLIC, RELIGIOUS) tailored for Ethiopia.

Headless Primitive Hooks

Flexible UI with `kenat-ui`

`kenat-ui` is a headless UI logic library that gives you full aesthetic freedom while managing the state behind date pickers and calendars.

ui

Headless by Design

Access React hooks and layout generators without forced styling, allowing full integration with your local CSS framework.

ui

Style-Agnostic

Ready to use with Tailwind CSS, Radix UI, Framer Motion, CSS modules, or custom visual tokens.

ui

Highly Reusable

Structure custom input date-pickers, digital clocks, month ranges, and multi-select calendars with ease.

Ready to Build?

Explore the detailed guide and API reference to integrate Ethiopian calendar features, or inspect the open-source codebases.