Skip to content

Bump time from 0.1.42 to 0.2.21#68

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/time-0.2.21
Closed

Bump time from 0.1.42 to 0.2.21#68
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/time-0.2.21

Conversation

@dependabot-preview
Copy link

Bumps time from 0.1.42 to 0.2.21.

Release notes

Sourced from time's releases.

v0.2.21

No release notes provided.

v0.2.20

No release notes provided.

v0.2.19

No release notes provided.

v0.2.18

No release notes provided.

v0.2.17

No release notes provided.

v0.2.16

No release notes provided.

v0.2.15

No release notes provided.

v0.2.14

No release notes provided.

v0.2.13

No release notes provided.

v0.2.12

No release notes provided.

v0.2.11

No release notes provided.

v0.2.10

No release notes provided.

v0.2.9

No release notes provided.

v0.2.8

No release notes provided.

v0.2.7

All changes are now being reported in the repository's changelog.

v0.2.6

Bug fixes

v0.2.5 introduces a major inconsistency, not just in its behavior for PrimitiveDateTime::using_offset, but also changes its signature, rendering it incapable of being used in const contexts.

Changelog

Sourced from time's changelog.

0.2.21 [2020-09-20]

Changed

  • Implementation details of some error types have been exposed. This means that data about a component being out of range can be directly obtained, while an invalid offset or conversion error is guaranteed to be a zero-sized type.
  • The following functions are const fn on rustc ≥ 1.46:
    • Date::try_from_iso_ywd
    • Date::iso_year_week
    • Date::week
    • Date::sunday_based_week
    • Date::monday_based_week
    • Date::try_with_hms
    • Date::try_with_hms_milli
    • Date::try_with_hms_micro
    • Date::try_with_hms_nano
    • PrimitiveDateTime::iso_year_week
    • PrimitiveDateTime::week
    • PrimitiveDateTime::sunday_based_week
    • PrimitiveDateTime::monday_based_week
    • util::weeks_in_year

0.2.20 [2020-09-16]

Added

  • OffsetDateTime::timestamp_nanos
  • OffsetDateTime::from_unix_timestamp_nanos

Fixed

A bug with far-reaching consequences has been fixed. See #276 for complete details, but the gist is that the constructing a Date from a valid Julian day may result in an invalid value or even panic. As a consequence of implementation details, this affects nearly all arithmetic with Dates (and as a result also PrimitiveDateTimes and OffsetDateTimes).

Improvements

  • Document how to construct an OffsetDateTime from a timestamp-nanosecond pair

0.2.19 [2020-09-12]

Fixed

  • The build script now declares a dependency on the COMPILING_UNDER_CARGO_WEB environment variable.
  • Parsing the %D specifier no longer requires padding on the month.
Commits

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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [time](https://github.com/time-rs/time) from 0.1.42 to 0.2.21.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/commits/v0.2.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 21, 2020
@dependabot-preview
Copy link
Author

Superseded by #70.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/time-0.2.21 branch September 28, 2020 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants