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.1#147

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

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

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Aug 9, 2021

Bumps time from 0.2.27 to 0.3.1.

Changelog

Sourced from time's changelog.

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.

Fixes

  • 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
  • UtcOffset::seconds_past_minute
  • UtcOffset::is_utc
  • UtcOffset::is_positive
  • UtcOffset::is_negative
  • OffsetDateTime::sunday_based_week
  • OffsetDateTime::monday_based_week
  • PrimitiveDateTime::to_calendar_date
  • PrimitiveDateTime::to_ordinal_date
  • PrimitiveDateTime::to_iso_week_date
  • PrimitiveDateTime::to_julian_day
  • OffsetDateTime::to_calendar_date
  • OffsetDateTime::to_ordinal_date

... (truncated)

Commits
  • 4833ae7 Release 0.3.1, time-macros 0.2.1
  • b4cfeb1 Support 12-hour clock hour and period in macro
  • f784179 Add case for parsing 12-hour clock hour and period
  • d736d52 Remove outdated info
  • 1a11142 Add integer From/TryFrom impls for Month (#346)
  • 5c5f13e Use doc(alias(x)) without gating
  • 95bb21f Bump dependencies, create 0.3 release
  • 1a5ba3a Bump MSRV to 1.48
  • e5bb155 Update lints for Rust 1.54
  • e77e5a1 Allow setters to fail in the future
  • 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.1.
- [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.1)

---
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 9, 2021
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Aug 26, 2021

Superseded by #157.

@dependabot dependabot Bot closed this Aug 26, 2021
@dependabot dependabot Bot deleted the dependabot/cargo/time-0.3.1 branch August 26, 2021 16:09
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