This repository was archived by the owner on Jan 19, 2026. It is now read-only.
build(deps): update rust crate time to v0.3.38#1112
Merged
fabriziosestito merged 1 commit intomainfrom Mar 6, 2025
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1112 +/- ##
=======================================
Coverage 83.32% 83.32%
=======================================
Files 25 25
Lines 4329 4329
=======================================
Hits 3607 3607
Misses 722 722 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b5466ea to
957badd
Compare
fabriziosestito
approved these changes
Mar 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 - "* 0-4,22-23 * * 1-5,* * * * 0,6" (UTC), 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.