Skip to content

fix chrono::Local::timestamp deprecated in chrono 0.4.23#220

Merged
eminence merged 1 commit intoeminence:masterfrom
tatref:fix-chrono-warning
Dec 17, 2022
Merged

fix chrono::Local::timestamp deprecated in chrono 0.4.23#220
eminence merged 1 commit intoeminence:masterfrom
tatref:fix-chrono-warning

Conversation

@tatref
Copy link
Contributor

@tatref tatref commented Dec 7, 2022

I'm not 100% sure about the expect! macro.

Tell me if it's good

@eminence
Copy link
Owner

This looks right to me. Our timestamp should never be invalid, and according to the timestamp_opt docs, it will never return an Ambiguous value

@eminence eminence merged commit 6030a50 into eminence:master Dec 17, 2022
@tatref tatref deleted the fix-chrono-warning branch January 11, 2023 21:13
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.

2 participants