Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: clippy warnings about deprectated functions in chrono crate. #1601

Merged
merged 1 commit into from Mar 13, 2024

Conversation

jjnicola
Copy link
Member

What:
Fix: clippy warnings about deprectated functions in chrono crate.

From chrono crate

pub const fn from_timestamp(secs: i64, nsecs: u32) -> NaiveDateTime
Deprecated since 0.4.23: use DateTime::from_timestamp instead

Why:

How:

Checklist:

  • Tests
  • PR merge commit message adjusted

From chrono crate
```
pub const fn from_timestamp(secs: i64, nsecs: u32) -> NaiveDateTime
Deprecated since 0.4.23: use DateTime::from_timestamp instead
```
@jjnicola jjnicola requested a review from a team as a code owner March 13, 2024 12:31
@ArnoStiefvater ArnoStiefvater merged commit 207e843 into main Mar 13, 2024
18 checks passed
@ArnoStiefvater ArnoStiefvater deleted the chrono-update branch March 13, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants