fix(deps): update rust crate time to v0.3.37 #27
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LibrePages/libconfig#27
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/time-0.x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.3.36
->0.3.37
Release Notes
time-rs/time (time)
v0.3.37
Compare Source
Added
Time::MAX
, equivalent totime!(23:59:59.999999999)
[year repr:century]
is now supported in format descriptions. When used in conjunction with[year repr:last_two]
, there is sufficient information to parse a date. Note that with thelarge-date
feature enabled, there is an ambiguity when parsing the two back-to-back.strftime
-style format descriptions, located attime::format_description::parse_strftime_borrowed
andtime::format_description::parse_strftime_owned
time::util::refresh_tz
andtime::util::refresh_tz_unchecked
, which updates informationobtained via the
TZ
environment variable. This is equivalent to thetzset
syscall on Unix-likesystems, with and without built-in soundness checks, respectively.
Month::length
andutil::days_in_month
, replacingutil::days_in_year_month
.time::serde::format_description!
rather than only paths. This alsodrastically improves diagnostics when an invalid value is provided.
Changed
Obtaining the system UTC offset on Unix-like systems should now succeed when multi-threaded.
However, if the
TZ
environment variable is altered, the program will not be aware of this untiltime::util::refresh_tz
ortime::util::refresh_tz_unchecked
is called.refresh_tz
has thesame soundness requirements as obtaining the system UTC offset previously did, with the
requirements still being automatically enforced.
refresh_tz_unchecked
does not enforce theserequirements at the expense of being
unsafe
. Most programs should not need to call eitherfunction.
Due to this change, the
time::util::local_offset
module has been deprecated in its entirety. Theget_soundness
andset_soundness
functions are now no-ops.Note that while calls should succeed, success is not guaranteed in any situation. Downstream
users should always be prepared to handle the error case.
Fixed
Duration
s less than one second is now correct. It previously omittedthe negative sign.
From<js_sys::Date> for OffsetDateTime
now ensures sub-millisecond values are not erroneouslyreturned.
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 this update again.
This PR has been generated by Renovate Bot.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.