time-rs/time (time)
### [`v0.3.36`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0336-2024-04-10)
[Compare Source](https://togithub.com/time-rs/time/compare/v0.3.35...v0.3.36)
##### # Fixed
- `FormatItem` can be used as part of an import path. See [#675] for details.
[#675]: https://togithub.com/time-rs/time/issues/675
### [`v0.3.35`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0335-2024-04-10)
[Compare Source](https://togithub.com/time-rs/time/compare/v0.3.34...v0.3.35)
##### Added
- `Duration::checked_neg`
- `ext::InstantExt`, which provides methods for using `time::Duration` with `std::time::Instant`
##### Changed
- `Instant` is deprecated. It is recommended to use `std::time::Instant` directly, importing
`time::ext::InstantExt` for interoperability with `time::Duration`.
- `FormatItem` has been renamed to `BorrowedFormatItem`, avoiding confusion with `OwnedFormatItem`.
An alias has been added for backwards compatibility.
##### Fixed
- The weekday is optional when parsing RFC2822.
- The range of sub-second values in `Duration` is documented correctly. The previous documentation
contained an off-by-one error.
- Leap seconds are now correctly handled when parsing ISO 8601.
### [`v0.3.34`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0334-2024-02-03)
[Compare Source](https://togithub.com/time-rs/time/compare/v0.3.33...v0.3.34)
##### Fixed
Computing the local offset on Windows works again. It was broken in some cases in v0.3.32 and
v0.3.33.
### [`v0.3.33`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0333-2024-02-03)
[Compare Source](https://togithub.com/time-rs/time/compare/v0.3.32...v0.3.33)
##### Fixed
Builds targeting `wasm32-unknown-unknown` now work again.
### [`v0.3.32`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0332-2024-02-01)
[Compare Source](https://togithub.com/time-rs/time/compare/v0.3.31...v0.3.32)
##### Added
- Methods to replace the day of the year.
- `Date::replace_ordinal`
- `PrimitiveDateTime::replace_ordinal`
- `OffsetDateTime::replace_ordinal`
- Modules to treat an `OffsetDateTime` as a Unix timestamp with subsecond precision for serde.
- `time::serde::timestamp::milliseconds`
- `time::serde::timestamp::microseconds`
- `time::serde::timestamp::nanoseconds`
##### Changed
- `Duration::time_fn` is deprecated.
Configuration
📅 Schedule: Branch creation - " 0-4 * 3" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.3.31
->0.3.36
Release Notes
time-rs/time (time)
### [`v0.3.36`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0336-2024-04-10) [Compare Source](https://togithub.com/time-rs/time/compare/v0.3.35...v0.3.36) ##### # Fixed - `FormatItem` can be used as part of an import path. See [#675] for details. [#675]: https://togithub.com/time-rs/time/issues/675 ### [`v0.3.35`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0335-2024-04-10) [Compare Source](https://togithub.com/time-rs/time/compare/v0.3.34...v0.3.35) ##### Added - `Duration::checked_neg` - `ext::InstantExt`, which provides methods for using `time::Duration` with `std::time::Instant` ##### Changed - `Instant` is deprecated. It is recommended to use `std::time::Instant` directly, importing `time::ext::InstantExt` for interoperability with `time::Duration`. - `FormatItem` has been renamed to `BorrowedFormatItem`, avoiding confusion with `OwnedFormatItem`. An alias has been added for backwards compatibility. ##### Fixed - The weekday is optional when parsing RFC2822. - The range of sub-second values in `Duration` is documented correctly. The previous documentation contained an off-by-one error. - Leap seconds are now correctly handled when parsing ISO 8601. ### [`v0.3.34`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0334-2024-02-03) [Compare Source](https://togithub.com/time-rs/time/compare/v0.3.33...v0.3.34) ##### Fixed Computing the local offset on Windows works again. It was broken in some cases in v0.3.32 and v0.3.33. ### [`v0.3.33`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0333-2024-02-03) [Compare Source](https://togithub.com/time-rs/time/compare/v0.3.32...v0.3.33) ##### Fixed Builds targeting `wasm32-unknown-unknown` now work again. ### [`v0.3.32`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0332-2024-02-01) [Compare Source](https://togithub.com/time-rs/time/compare/v0.3.31...v0.3.32) ##### Added - Methods to replace the day of the year. - `Date::replace_ordinal` - `PrimitiveDateTime::replace_ordinal` - `OffsetDateTime::replace_ordinal` - Modules to treat an `OffsetDateTime` as a Unix timestamp with subsecond precision for serde. - `time::serde::timestamp::milliseconds` - `time::serde::timestamp::microseconds` - `time::serde::timestamp::nanoseconds` ##### Changed - `Duration::time_fn` is deprecated.Configuration
📅 Schedule: Branch creation - " 0-4 * 3" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.