Niche value optimization for Date has been added. Both Date and Option<Date> are four bytes.
Unit conversions have been added. It is now possible to write Second::per(Day), which returns
the number of seconds in one day. See the types in the time::convert module for more
information.
Changed
The diagnostic for --cfg unsound_local_offset has been removed.
#![feature(no_coverage)] was previously used internally for code coverage. It is no longer used,
so it has been removed.
The default value for modifier::OffsetHour has been changed. This was unintentionally changed in
v0.3.17 and went unnoticed until now. The sign is now only present if needed by default, as was
the case previously. This does not affect any situation where format_description! or
format_description::parse is used.
Fixed
Adding or subtracting a std::time::Duration to/from an OffsetDateTime will not result in
integer overflow internally. It will still panic if the result is out of range.
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps time from 0.3.28 to 0.3.29.
Release notes
Sourced from time's releases.
Changelog
Sourced from time's changelog.
Commits
c96bb1a
v0.3.29 release6d0b341
Rework, expose unit conversions313f980
Add niche value optimization toDate
bcbca6e
Partially move torstest
9abaf30
Revert default forOffsetHour
modifier6248992
Address lints5b48552
Avoid integer overflow in arithmetic5813d61
Remove unusedfeature(no_coverage)
opt-in (#622)6aa8db5
Require internal macros be explicitly imported5aa84bd
Eliminate use ofensure_value_in_range!
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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show