Update Rust crate time to 0.3.29
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
time (source) | dependencies | patch |
0.3.28 -> 0.3.29
|
Release Notes
time-rs/time (time)
v0.3.29
Added
- Niche value optimization for
Date
has been added. BothDate
andOption<Date>
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.
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 whereformat_description!
orformat_description::parse
is used.
Fixed
- Adding or subtracting a
std::time::Duration
to/from anOffsetDateTime
will not result in integer overflow internally. It will still panic if the result is out of range.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.