fix(deps): update rust crate time to v0.3.38 #1900
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.3.37->0.3.38Release Notes
time-rs/time (time)
v0.3.38Compare Source
Added
The
[year]component (in format descriptions) now supports arangemodifier, which can beeither
standardorextended. The default isextendedfor backwards compatibility. This isintended as a manner to opt out of the extended range when the
large-datesfeature is enabled.When the
large-datesfeature is not enabled, the modifier has no effect.UtcDateTime, which is semantically equivalent to anOffsetDateTimewith UTC as its offset. Theadvantage is that it is the same size as a
PrimitiveDateTimeand has improved operability withwell-known formats.
As part of this, there were some other additions:
utc_datetime!macro, which is similar to thedatetime!macro but constructs aUtcDateTime.PrimitiveDateTime::as_utcOffsetDateTime::to_utcOffsetDateTime::checked_to_utctime::serde::timestamp::milliseconds_i64, which is a module to serialize/deserialize timestampsas the Unix timestamp. The pre-existing module does this as an
i128where ani64wouldsuffice. This new module should be preferred.
Changed
error::Formathas had itssource()implementation changed to no longer return a boxed valuefrom the
ComponentRangevariant. If you were explicitly expecting this, you will need to updateyour code. The method API remains unchanged.
[year repr:century]supports single-digit values.format_intomethods accept?Sizedreferences.Miscellaneous
proven as uninhabited. The relevant fields are doc-hidden and not semver-guaranteed to remain as
such, though it is unlikely to change.
gains. Among the methods changed are
util::is_leap_yearutil::weeks_in_yearMonth::lengthDate::to_calendar_dateDate::monthDate::dayDate::from_julian_dayDate::to_julian_dayConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.