hijri-core/.github/wiki/api/variables/hwShort.md

524 B

hijri-core v1.0.1


hijri-core / hwShort

Variable: hwShort

const hwShort: string[]

Defined in: names/weekdays.ts:32

Short single-word transliterations for the seven days of the week.

Index alignment matches Date.prototype.getDay(): index 0 = Sunday, index 6 = Saturday.

Example

const abbr = hwShort[gregorianDate.getDay()]; // "Jum`a"