From fb803e40686d5c7ee22dccfb73199ee2923896a5 Mon Sep 17 00:00:00 2001 From: Aric Camarata Date: Wed, 10 Jun 2026 16:47:20 -0400 Subject: [PATCH] chore: bump to v1.0.3 --- CHANGELOG.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 615be84..7bb73bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [1.0.3] - 2026-06-10 ### Fixed - UAQ engine `toHijri` was reading local date components (`getFullYear/getMonth/getDate`) instead of UTC components, causing incorrect results on hosts west of UTC (e.g. `America/New_York`, `Pacific/Auckland`) when the input Date was a UTC-midnight value such as those returned by `toGregorian` or ISO date-only strings. `toHijri` now reads UTC calendar day components (`getUTCFullYear/getUTCMonth/getUTCDate`), matching the FCNA engine. **Behavior change:** on non-UTC hosts the converted Hijri day may shift to the UTC calendar day; round-trips via `toGregorian` are now exact on every machine. diff --git a/package.json b/package.json index 3845a76..2020a34 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hijri-core", - "version": "1.0.2", + "version": "1.0.3", "description": "Zero-dependency Hijri calendar engine with pluggable calendar support. Includes Umm al-Qura (UAQ) and FCNA/ISNA calendars. Extensible registry for custom calendars.", "author": "Aric Camarata", "license": "MIT",