On Unix-based operating systems with known thread-safe environments, functions obtaining the local
offset no longer require a check that the program is single-threaded. This currently includes
MacOS, illumos, and NetBSD.
Added
[ignore] component in format descriptions. A count modifier is required, indicating the number
of bytes to ignore when parsing.
[unix_timestamp] component in format descriptions. This is currently only usable with
OffsetDateTime. Users can choose between seconds, milliseconds, microseconds, and nanoseconds,
and whether the sign is mandatory or optional.
Fixed
The API for declaring soundness now uses stricter atomic orderings internally.
0.3.19 [2023-02-16]
Fixed
This includes the update to the format_description! macro, which was supposed to be included in
0.3.18.
0.3.18 [2023-02-16]
Changed
The minimum supported Rust version is now 1.62.0.
Added
[first] and [optional] items can now be included in format descriptions. To parse this at
runtime, you must use the format_description::parse_owned method.
format_description::parse_borrowed
An API has been added to opt out of soundness checks for obtaining the local offset. This replaces
the previous, officially unsupported RUSTFLAGS="--cfg unsound_local_offset". End users may call
time::util::local_offset::set_soundness(time::util::local_offset::Soundness::Unsound). This
method is unsafe because it enables undefined behavior if its safety requirements are not
upheld. Note that libraries must not set this to Unsound, as it is impossible for a library
to guarantee end users uphold the required invariants.
Fixed
Correctly parse offset sign when hour is zero. The parse was previously unconditionally positive,
even if the sign indicated otherwise.
You can trigger a rebase of this PR 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 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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/flatpak/flat-manager/network/alerts).
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps time from 0.1.45 to 0.3.20.
Release notes
Sourced from time's releases.
... (truncated)
Changelog
Sourced from time's changelog.
... (truncated)
Commits
You can trigger a rebase of this PR 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 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/flatpak/flat-manager/network/alerts).