maxjoehnk / sidenotes

Show todos from different sources in a sidebar like app
https://maxjoehnk.github.io/sidenotes/
GNU General Public License v3.0
22 stars 3 forks source link

fix(deps): update rust crate chrono to 0.4.31 #126

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
chrono dependencies patch 0.4.30 -> 0.4.31

Release Notes

chronotope/chrono (chrono) ### [`v0.4.31`](https://togithub.com/chronotope/chrono/releases/tag/v0.4.31): 0.4.31 [Compare Source](https://togithub.com/chronotope/chrono/compare/v0.4.30...v0.4.31) Another maintenance release. It was not a planned effort to improve our support for UNIX timestamps, yet most PRs seem related to this. ##### Deprecations - Deprecate `timestamp_nanos` in favor of the non-panicking `timestamp_nanos_opt` ([#​1275](https://togithub.com/chronotope/chrono/issues/1275)) ##### Additions - Add `DateTime::::from_timestamp` ([#​1279](https://togithub.com/chronotope/chrono/issues/1279), thanks [@​demurgos](https://togithub.com/demurgos)) - Add `TimeZone::timestamp_micros` ([#​1285](https://togithub.com/chronotope/chrono/issues/1285), thanks [@​emikitas](https://togithub.com/emikitas)) - Add `DateTime::timestamp_nanos_opt` and `NaiveDateTime::timestamp_nanos_opt` ([#​1275](https://togithub.com/chronotope/chrono/issues/1275)) - Add `UNIX_EPOCH` constants ([#​1291](https://togithub.com/chronotope/chrono/issues/1291)) ##### Fixes - Format day of month in RFC 2822 without padding ([#​1272](https://togithub.com/chronotope/chrono/issues/1272)) - Don't allow strange leap seconds which are not on a minute boundary initialization methods ([#​1283](https://togithub.com/chronotope/chrono/issues/1283)) This makes many methods a little more strict: - `NaiveTime::from_hms_milli` - `NaiveTime::from_hms_milli_opt` - `NaiveTime::from_hms_micro` - `NaiveTime::from_hms_micro_opt` - `NaiveTime::from_hms_nano` - `NaiveTime::from_hms_nano_opt` - `NaiveTime::from_num_seconds_from_midnight` - `NaiveTime::from_num_seconds_from_midnight_opt` - `NaiveDate::and_hms_milli` - `NaiveDate::and_hms_milli_opt` - `NaiveDate::and_hms_micro` - `NaiveDate::and_hms_micro_opt` - `NaiveDate::and_hms_nano` - `NaiveDate::and_hms_nano_opt` - `NaiveDateTime::from_timestamp` - `NaiveDateTime::from_timestamp_opt` - `TimeZone::timestamp` - `TimeZone::timestamp_opt` - Fix underflow in `NaiveDateTime::timestamp_nanos_opt` ([#​1294](https://togithub.com/chronotope/chrono/issues/1294), thanks [@​crepererum](https://togithub.com/crepererum)) ##### Documentation - Add more documentation about the RFC 2822 obsolete date format ([#​1267](https://togithub.com/chronotope/chrono/issues/1267)) ##### Internal - Remove internal `__doctest` feature and `doc_comment` dependency ([#​1276](https://togithub.com/chronotope/chrono/issues/1276)) - CI: Bump `actions/checkout` from 3 to 4 ([#​1280](https://togithub.com/chronotope/chrono/issues/1280)) - Optimize `NaiveDate::add_days` for small values ([#​1214](https://togithub.com/chronotope/chrono/issues/1214)) - Upgrade `pure-rust-locales` to 0.7.0 ([#​1288](https://togithub.com/chronotope/chrono/issues/1288), thanks [@​jeremija](https://togithub.com/jeremija) wo did good improvements on `pure-rust-locales`) Thanks to all contributors on behalf of the chrono team, [@​djc](https://togithub.com/djc) and [@​pitdicker](https://togithub.com/pitdicker)!

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.