mirror of
https://github.com/acamarata/date-fns-hijri.git
synced 2026-07-01 19:24:26 +00:00
Functional Hijri date utility library in date-fns style. 17 exported functions: toHijriDate, fromHijriDate, isValidHijriDate, getHijriYear, getHijriMonth, getHijriDay, getDaysInHijriMonth, getHijriMonthName, getHijriWeekdayName, formatHijriDate, addHijriMonths, addHijriYears, startOfHijriMonth, endOfHijriMonth, isSameHijriMonth, isSameHijriYear, getHijriQuarter. All delegate to hijri-core. UTC-midnight-to-local-noon correction applied in arithmetic functions to avoid timezone boundary drift. 55 ESM + 10 CJS tests passing. Dual CJS/ESM build.
22 lines
444 B
YAML
22 lines
444 B
YAML
name: Wiki sync
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- '.wiki/**'
|
|
|
|
jobs:
|
|
sync:
|
|
name: Sync .wiki to GitHub Wiki
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Sync wiki pages
|
|
uses: nicenshtein/wiki-page-creator-action@v1
|
|
env:
|
|
GH_PAT: ${{ secrets.GH_PAT }}
|
|
with:
|
|
owner: acamarata
|
|
repo-name: date-fns-hijri
|
|
md-folder: .wiki
|