8000 GitHub - atqan-dev/taqwim: Taqwim is a set of modules to handle Hijri dates based on date-fns · GitHub
[go: up one dir, main page]

Skip to content
atqan-devPublic
forked from boussadjra/taqwim

About

Taqwim is a set of modules to handle Hijri dates based on date-fns

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Taqwim

Overview

Taqwim provides a collection of utilities and components designed for managing Hijri dates in frontend applications. It includes a Hijri date converter, handler, and format, it uses the Umm al-Qura calendar system and date-fns library.

Installation

npm install taqwim-core-utils

Usage

import { toHijri } from 'taqwim-core-utils'

const gregorianDate = new Date('2024-03-11')

const hijriDate = toHijri(gregorianDate)

console.log(hijriDate) // { hy: 1445, hm:9, hd: 1 }

API

About

Taqwim is a set of modules to handle Hijri dates based on date-fns

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0