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

Replace deprecated chrono functions #42

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Replace deprecated chrono functions #42

merged 1 commit into from
Dec 19, 2024

Conversation

MEhrn00
Copy link
Member

@MEhrn00 MEhrn00 commented Dec 19, 2024

Removes functions from the chrono crate which are now deprecated and replaces them with the supported variant.

This removes calls to NaiveDateTime.timestamp() and replaces them with the supported .and_utc().timestamp() call chain.

Removes functions from the chrono crate which are now deprecated and
replaces them with the supported variant.

This removes calls to [NaiveDateTime.timestamp()](https://docs.rs/chrono/latest/chrono/struct.NaiveDateTime.html#method.timestamp)
and replaces them with the supported `.and_utc().timestamp()` call
chain.
@MEhrn00 MEhrn00 self-assigned this Dec 19, 2024
@MEhrn00 MEhrn00 marked this pull request as ready for review December 19, 2024 18:11
@MEhrn00 MEhrn00 merged commit 104d5c1 into main Dec 19, 2024
1 check passed
@MEhrn00 MEhrn00 deleted the chrono-deprecation branch December 19, 2024 18:12
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.

1 participant