time-rs/time (time)
### [`v0.3.34`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0334-2024-12-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.
### [`v0.3.31`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0331-2023-12-19)
[Compare Source](https://togithub.com/time-rs/time/compare/v0.3.30...v0.3.31)
##### Added
- `OffsetDateTime::new_in_offset`
- `OffsetDateTime::new_utc`
##### Changed
- The valid range of `UtcOffset` has been expanded from ±23:59:59 to ±25:59:59. This is to support
the full POSIX range while permitting infallible negation.
### [`v0.3.30`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0330-2023-10-13)
[Compare Source](https://togithub.com/time-rs/time/compare/v0.3.29...v0.3.30)
##### Added
- `powerfmt::smart_display::SmartDisplay` has been added for the main types in the library. These
implementations ensure that values follow the requested fill, width, and alignment when using
`format!` or similar macros. `Display` is implemented in terms of `SmartDisplay`.
##### Fixed
- Large values no longer wrap around in release mode when using `NumericalDuration` or
`NumericalStdDuration`.
### [`v0.3.29`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0329-2023-09-24)
[Compare Source](https://togithub.com/time-rs/time/compare/v0.3.28...v0.3.29)
##### Added
- Niche value optimization for `Date` has been added. Both `Date` and `Option` are four bytes.
- Unit conversions have been added. It is now possible to write `Second::per(Day)`, which returns
the number of seconds in one day. See the types in the [`time::convert` module][time::convert module] for more
information.
[`time::convert` module]: https://time-rs.github.io/api/time/convert/index.html
##### Changed
- The diagnostic for `--cfg unsound_local_offset` has been removed.
- `#![feature(no_coverage)]` was previously used internally for code coverage. It is no longer used,
so it has been removed.
- The default value for `modifier::OffsetHour` has been changed. This was unintentionally changed in
v0.3.17 and went unnoticed until now. The sign is now only present if needed by default, as was
the case previously. This does not affect any situation where `format_description!` or
`format_description::parse` is used.
##### Fixed
- Adding or subtracting a `std::time::Duration` to/from an `OffsetDateTime` will not result in
integer overflow internally. It will still panic if the result is out of range.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 these updates 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.28
->0.3.34
0.3.28
->0.3.34
Release Notes
time-rs/time (time)
### [`v0.3.34`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0334-2024-12-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. ### [`v0.3.31`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0331-2023-12-19) [Compare Source](https://togithub.com/time-rs/time/compare/v0.3.30...v0.3.31) ##### Added - `OffsetDateTime::new_in_offset` - `OffsetDateTime::new_utc` ##### Changed - The valid range of `UtcOffset` has been expanded from ±23:59:59 to ±25:59:59. This is to support the full POSIX range while permitting infallible negation. ### [`v0.3.30`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0330-2023-10-13) [Compare Source](https://togithub.com/time-rs/time/compare/v0.3.29...v0.3.30) ##### Added - `powerfmt::smart_display::SmartDisplay` has been added for the main types in the library. These implementations ensure that values follow the requested fill, width, and alignment when using `format!` or similar macros. `Display` is implemented in terms of `SmartDisplay`. ##### Fixed - Large values no longer wrap around in release mode when using `NumericalDuration` or `NumericalStdDuration`. ### [`v0.3.29`](https://togithub.com/time-rs/time/blob/HEAD/CHANGELOG.md#0329-2023-09-24) [Compare Source](https://togithub.com/time-rs/time/compare/v0.3.28...v0.3.29) ##### Added - Niche value optimization for `Date` has been added. Both `Date` and `OptionConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.