Update Rust crate jiff to v0.1.27 #10972
Merged
+7
−7
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.1.24
->0.1.27
Release Notes
BurntSushi/jiff (jiff)
v0.1.27
Compare Source
===================
This is a small release with a bug fix for precision loss in some cases when
doing arithmetic on
Timestamp
orZoned
.Bug fixes:
Fix the check for fractional seconds before taking the fast path.
v0.1.26
Compare Source
===================
This is a small release with another deprecation and a new API for doing
prefix parsing via
strptime
. There's also a bug fix for a corner casewhen dealing with daylight saving time gaps with the
Zoned::with
API.Deprecations:
Deprecate
ISOWeekDate::to_date
in favor ofISOWeekDate::date
.Enhancements:
Add
fmt::strtime::BrokenDownTime::parse_prefix
for parsing only a prefix.Bug fixes:
Fix unintuitive behavior of
Zoned::with
when time falls in a DST gap.v0.1.25
Compare Source
===================
This release contains a number of deprecations in preparation for a
jiff 0.2
release. The deprecations are meant to facilitate a smoother transition. The
deprecations, when possible, come with new APIs that will permit users to write
forward compatible code that will work in both
jiff 0.1
andjiff 0.2
.This release also includes a handful of new conversion specifiers in Jiff's
strftime
andstrptime
APIs. This improves compatibility with the analogousimplementation with GNU libc.
Deprecations:
The
intz
methods onZoned
,Timestamp
,civil::DateTime
andcivil::Date
have been deprecated in favor of
in_tz
.The
Eq
andPartialEq
trait implementations onSpan
have been deprecatedin favor of using the new
SpanFieldwise
type.Silently assuming days are always 24 hours in some
Span
APIs has now beendeprecated. This will become an error in
jiff 0.2
. To continue assumingdays are 24 hours without a relative reference date, you can use the new
SpanRelativeTo::days_are_24_hours
API. Injiff 0.1
, you'll seen aWARN-level log message emitted if you're code will be broken by
jiff 0.2
.Both
%V
and%:V
have been deprecated in favor of%Q
and%:Q
. Injiff 0.2
,%V
will correspond to the ISO 8601 week number and%:V
willresult in an error. This change was made to improve compatibility with other
strtime
implementations.%V
and%:V
continue to correspond to IANAtime zone identifiers in
jiff 0.1
, but using them for parsing or formattingwill result in a WARN-level deprecation message.
Enhancements:
Adds a number of new conversion specifiers to Jiff's
strftime
andstrptime
APIs. Specifically,%C
,%G
,%g
,%j
,%k
,%l
,%n
,%R
,%s
,%t
,%U
,%u
,%W
,%w
. Their behavior should match thecorresponding specifiers in GNU libc.
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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 was generated by Mend Renovate. View the repository job log.