Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

build(deps): bump time from 0.2.27 to 0.3.2#157

Closed
dependabot[bot] wants to merge 1 commit intorestructfrom
dependabot/cargo/time-0.3.2
Closed

build(deps): bump time from 0.2.27 to 0.3.2#157
dependabot[bot] wants to merge 1 commit intorestructfrom
dependabot/cargo/time-0.3.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 26, 2021

Bumps time from 0.2.27 to 0.3.2.

Changelog

Sourced from time's changelog.

0.3.2 [2021-08-25]

Added

  • Instant is now #[repr(transparent)]

Fixed

  • Constructing a Date from its ISO year, week, and weekday now returns the correct value in all circumstances. Previously, dates with an ISO year less than zero may have returned incorrect values. This affects both the Date::from_iso_week_date method and the date! macro.

0.3.1 [2021-08-06]

Added

  • Month now implements TryFrom<u8>
  • From<Month> is now implemented for u8
  • The parser now accepts "5 PM" and similar as a valid time. Only the 12-hour clock hour and the AM/PM suffix may be present; any other components representing a time will cause an error (this exact behavior is not guaranteed).
  • The time! macro accepts the "5 PM" syntax with the same restriction.

Fixed

  • Macros that have a time component (time! and datetime!) no longer accept "0:00 AM" and similar. This was previously erroneously accepted.

0.3.0 [2021-07-30]

Added

  • datetime! macro, which allows the construction of a statically verified PrimitiveDateTime or OffsetDateTime.
  • PrimitiveDateTime::replace_time
  • PrimitiveDateTime::replace_date
  • OffsetDateTime::replace_time
  • OffsetDateTime::replace_date
  • OffsetDateTime::replace_date_time
  • OffsetDateTime::replace_offset
  • #![no_alloc] support
  • Date::to_iso_week_date, replacing Date::iso_year_week
  • Date::MIN
  • Date::MAX
  • UtcOffset::from_hms
  • UtcOffset::from_whole_seconds
  • UtcOffset::as_hms
  • UtcOffset::whole_hours
  • UtcOffset::whole_minutes
  • UtcOffset::minutes_past_hour

... (truncated)

Commits
  • 4020fd6 v0.3.2 release
  • ffb028e Fix constructing dates with negative ISO year
  • 635ef21 Add additional roundtrip tests
  • fefc8c7 Warn on future deprecations
  • a839969 Use cargo-criterion for benchmarks
  • 6117ab7 Pin trybuild
  • 12673bf Make Instant #[repr(transparent)]
  • e52e355 Use more consistent measure for benchmarks
  • 102437e Update CI for trybuild
  • 656f7d9 Move to trybuild
  • 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)

Bumps [time](https://github.com/time-rs/time) from 0.2.27 to 0.3.2.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](time-rs/time@v0.2.27...v0.3.2)

---
updated-dependencies:
- dependency-name: time
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 26, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 27, 2021

Superseded by #166.

@dependabot dependabot bot closed this Sep 27, 2021
@dependabot dependabot bot deleted the dependabot/cargo/time-0.3.2 branch September 27, 2021 16:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants