diff --git a/.changeset/good-pillows-leave.md b/.changeset/good-pillows-leave.md index 20c2ae43a91..c3ee6b6beed 100644 --- a/.changeset/good-pillows-leave.md +++ b/.changeset/good-pillows-leave.md @@ -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.