chore: bump to v1.0.3

This commit is contained in:
Aric Camarata 2026-06-10 16:50:42 -04:00
parent 3b90105caf
commit 903fa34896
2 changed files with 4 additions and 4 deletions

View file

@ -5,13 +5,13 @@ 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/), 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). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [1.0.3] - 2026-06-10
### Fixed ### Fixed
- `.toHijri()` now converts the calendar date the moment instance displays (year/month/day - `.toHijri()` now converts the calendar date the moment instance displays (year/month/day
components, respecting `.utc()` mode) rather than passing the raw instant to hijri-core. components, respecting `.utc()` mode) rather than passing the raw instant to hijri-core.
This eliminates wrong-Hijri-day results around UTC-midnight for hosts east or west of UTC. This eliminates wrong-Hijri-day results around UTC-midnight for hosts east or west of UTC.
Lock-step with the unreleased hijri-core fix on `fix/utc-day-boundary`. Requires hijri-core 1.0.3.
## [1.0.2] - 2026-05-30 ## [1.0.2] - 2026-05-30

View file

@ -1,6 +1,6 @@
{ {
"name": "moment-hijri-plus", "name": "moment-hijri-plus",
"version": "1.0.2", "version": "1.0.3",
"description": "Moment.js plugin for Hijri calendar conversion and formatting. Supports Umm al-Qura and FCNA calendars via hijri-core.", "description": "Moment.js plugin for Hijri calendar conversion and formatting. Supports Umm al-Qura and FCNA calendars via hijri-core.",
"author": "Aric Camarata", "author": "Aric Camarata",
"license": "MIT", "license": "MIT",
@ -70,7 +70,7 @@
"c8": "^10.1.3", "c8": "^10.1.3",
"eslint": "^10.0.3", "eslint": "^10.0.3",
"eslint-config-prettier": "^10.1.8", "eslint-config-prettier": "^10.1.8",
"hijri-core": "^1.0.0", "hijri-core": "^1.0.3",
"moment": "^2.30.0", "moment": "^2.30.0",
"prettier": "^3.8.1", "prettier": "^3.8.1",
"tsup": "^8.0.0", "tsup": "^8.0.0",