Update Rust crate time to 0.3.36
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
time (source) | dependencies | patch |
0.3.34 -> 0.3.36
|
Release Notes
time-rs/time (time)
v0.3.36
# Fixed
-
FormatItem
can be used as part of an import path. See #675 for details.
v0.3.35
Added
Duration::checked_neg
-
ext::InstantExt
, which provides methods for usingtime::Duration
withstd::time::Instant
Changed
-
Instant
is deprecated. It is recommended to usestd::time::Instant
directly, importingtime::ext::InstantExt
for interoperability withtime::Duration
. -
FormatItem
has been renamed toBorrowedFormatItem
, avoiding confusion withOwnedFormatItem
. 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.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.