Skip to content

feat: Gregorian date beside Hijri in info line - #7

Merged
rz1989s merged 2 commits into
mainfrom
feat/gregorian-date
Sep 9, 2026
Merged

rz1989s merged 2 commits into
mainfrom
feat/gregorian-date

Conversation

@rz1989s

@rz1989s rz1989s commented Sep 9, 2026

Copy link
Copy Markdown
Member

Adds the Gregorian gloss beside the Hijri date on the info row:

󰥔 08:15 · 25 Rabīʿ al-awwal 1448 (07 Sep 2026) · Jakarta
  • formatGregorian in src/format.ts — machine-local, reuses the existing MONTHS table (deterministic EN rendering, no Intl variance), zero-padded day
  • infoLine derives the date from now, which it already receives — no DeenSnapshot/API/config changes
  • /sl notify deen part gets the same parenthetical for parity
  • Tests (TDD, watched red first): direct formatGregorian cases (day padding, month/year boundary) + updated exact-string infoLine assert; README + hero mock keep the coherent 25 Rabīʿ al-awwal ↔ 07 Sep 2026 pairing
  • Carries the 0.5.1 version bump

@rz1989s
rz1989s merged commit 5a6080f into main Sep 9, 2026
1 check passed
@rz1989s
rz1989s deleted the feat/gregorian-date branch September 9, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant