diff --git a/CHANGELOG.md b/CHANGELOG.md index 815706a..949cec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,10 +5,10 @@ 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 -- `.toHijri()` now converts the calendar date the dayjs instance displays (via `Date.UTC(year, month, date)`) instead of passing the raw instant to hijri-core. Fixes wrong-Hijri-day results around UTC-midnight instants on hosts east or west of UTC. Lock-step with the unreleased hijri-core `fix/utc-day-boundary` fix. +- `.toHijri()` now converts the calendar date the dayjs instance displays (via `Date.UTC(year, month, date)`) instead of passing the raw instant to hijri-core. Fixes wrong-Hijri-day results around UTC-midnight instants on hosts east or west of UTC. Requires hijri-core 1.0.3. ## [1.0.2] - 2026-05-30 diff --git a/package.json b/package.json index 96730c9..cc1f745 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayjs-hijri-plus", - "version": "1.0.2", + "version": "1.0.3", "description": "Day.js plugin for Hijri calendar conversion and formatting. Supports Umm al-Qura and FCNA calendars via hijri-core.", "author": "Aric Camarata", "license": "MIT", @@ -70,7 +70,7 @@ "dayjs": "^1.11.0", "eslint": "^10.0.3", "eslint-config-prettier": "^10.1.8", - "hijri-core": "^1.0.0", + "hijri-core": "^1.0.3", "prettier": "^3.8.1", "tsup": "^8.0.0", "typedoc": "^0.28.19",