sebastienrousseau / dtt

A Rust library for parsing, validating, manipulating, and formatting dates and times đŸ¦€
https://dttlib.com/
Apache License 2.0
6 stars 0 forks source link

build(deps): bump time from 0.3.21 to 0.3.24 #23

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps time from 0.3.21 to 0.3.24.

Release notes

Sourced from time's releases.

v0.3.24

See the changelog for details.

v0.3.23

See the changelog for details.

v0.3.22

See the changelog for details.

Changelog

Sourced from time's changelog.

0.3.24 [2023-07-30]

Added

  • The subsecond component is taken into account when parsing the unix_timestamp component. If data is conflicting, the subsecond value takes precedence.
  • Parsing a Time with only the hour component is now supported. The minute and second, and subsecond components are assumed to be zero.

Changed

  • The minimum supported Rust version is now 1.67.0.
  • The debug output for Parsed has been improved.
  • When parsing, invalid values are now rejected sooner. Previously, the entire input would be parsed before being rejected in the final step. Now, invalid values are rejected as soon as they are encountered. This affects the error variant returned, which may cause minor breakage for any code (incorrectly) relying on the exact error variant.
  • When parsing a Time, an error is returned if components are present but not consecutive. For example, if hours and seconds are present, minutes will not be assumed to be zero.

Fixed

  • The implementation of Duration::checked_div could return a slightly incorrect result in some cases. This has been fixed.

0.3.23 [2023-07-08]

Added

  • Date::next_occurrence
  • Date::prev_occurrence
  • Date::nth_next_occurrence
  • Date::nth_prev_occurrence
  • Weekday::nth_prev
  • Month::nth_next
  • Month::nth_prev

Changed

The minimum supported Rust version policy has been updated. See the README for details.

Fixed

  • Duration::abs correctly returns Duration::MAX when near the minimum value. The nanoseconds value was previously incorrect.
  • Compliance with ISO 8601 has been improved. Previously, a UTC offset would be incorrectly rejected in some cases.

... (truncated)

Commits
  • cdc85da v0.3.24 release
  • 227b6f8 Gate methods as necessary
  • 8060100 Fix implementation of Duration::checked_div
  • a9fea9f Use ranged integers internally for Duration
  • 04936ee Use ensure_ranged! for UtcOffset
  • 7e95cb2 Use ranged integers internally for Time
  • 2cb18f8 Fix rustdoc lint
  • 70cbb41 Use ranged integers internally for UtcOffset
  • 72d4f94 Reject missing component between valid components
  • bbea8cd Add support for only hours in time format with tests (#604)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 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)
dependabot[bot] commented 1 year ago

Superseded by #24.