Skip to content

Commit

Permalink
Update .changeset/good-pillows-leave.md
Browse files Browse the repository at this point in the history
Co-authored-by: Giulio Canti <[email protected]>
  • Loading branch information
fubhy and gcanti committed Jan 30, 2025
1 parent 7fa9fd3 commit 7afc1d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .changeset/good-pillows-leave.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
"effect": patch
---

Fixed handling of hrtime in `Duration.decode`
Improve `Duration.decode` Handling of High-Resolution Time

- **Ensured Immutability**: Added the `readonly` modifier to `[seconds: number, nanos: number]` in `DurationInput` to prevent accidental modifications.
- **Better Edge Case Handling**: Now correctly processes special values like `-Infinity` and `NaN` when they appear in the tuple representation of duration.

0 comments on commit 7afc1d6

Please sign in to comment.