Bump time from 0.1.44 to 0.2.23
Bumps time from 0.1.44 to 0.2.23.
Release notes
Sourced from time's releases.
v0.2.23
No release notes provided.
v0.2.22
No release notes provided.
v0.2.21
No release notes provided.
v0.2.20
No release notes provided.
v0.2.19
No release notes provided.
v0.2.18
No release notes provided.
v0.2.17
No release notes provided.
v0.2.16
No release notes provided.
v0.2.15
No release notes provided.
v0.2.14
No release notes provided.
v0.2.13
No release notes provided.
v0.2.12
No release notes provided.
v0.2.11
No release notes provided.
v0.2.10
No release notes provided.
v0.2.9
No release notes provided.
v0.2.8
No release notes provided.
v0.2.7
All changes are now being reported in the repository's changelog.
... (truncated)
Changelog
Sourced from time's changelog.
0.2.23 [2020-11-17]
Compatibility notes
Due to #293, any method that requires knowledge of the local offset will now fail on Linux. For
try_methods, this means returning an error. For others, it means assuming UTC.Deprecated
UtcOffset::timestamp(moved toUtcOffset::unix_timestamp)UtcOffset::timestamp_nanos(moved toUtcOffset::unix_timestamp_nanos)date(moved tomacros::date)time(moved tomacros::time)offset(moved tomacros::offset)OffsetDateTime::now_local(assumes UTC if unable to be determined)UtcOffset::local_offset_at(assumes UTC if unable to be determined)UtcOffset::current_local_offset(assumes UTC if unable to be determined)0.2.22 [2020-09-25]
Fixed
- Solaris & Illumos now successfully build.
Duration::newcould previously result in an inconsistent internal state. This led to some odd situations where aDurationcould be both positive and negative. This has been fixed such that the internal state maintains its invariants.0.2.21 [2020-09-20]
Changed
- Implementation details of some error types have been exposed. This means that data about a component being out of range can be directly obtained, while an invalid offset or conversion error is guaranteed to be a zero-sized type.
- The following functions are
const fnon rustc ≥ 1.46:
Date::try_from_iso_ywdDate::iso_year_weekDate::weekDate::sunday_based_weekDate::monday_based_weekDate::try_with_hmsDate::try_with_hms_milliDate::try_with_hms_microDate::try_with_hms_nanoPrimitiveDateTime::iso_year_weekPrimitiveDateTime::weekPrimitiveDateTime::sunday_based_weekPrimitiveDateTime::monday_based_weekutil::weeks_in_year
... (truncated)
Commits
f153a1cv0.3 backportsc4619eaUpdate CI for transition from main branch97e45eaBetter support for nightly1a4b1a0Bump version of time-macrosad4740fFix implementation ofDuration::newb398aafInteger conversion on Solaris and Illumos (#278)ccd997ev0.2.21 releasefcc5e2aDisplay feature required to enable function1cf918fMake more functionsconst fnd2da516Eliminate unnecessary internal macros- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.