Page MenuHomePhabricator

[rust] Fix Clippy warnings about DateTime
ClosedPublic

Authored by bartek on May 22 2024, 5:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 1:43 PM
Unknown Object (File)
Tue, Nov 12, 11:04 AM
Unknown Object (File)
Sat, Nov 9, 5:44 PM
Unknown Object (File)
Sat, Nov 9, 3:36 PM
Unknown Object (File)
Sat, Nov 9, 2:22 PM
Unknown Object (File)
Fri, Nov 8, 11:25 PM
Unknown Object (File)
Sun, Nov 3, 9:07 PM
Unknown Object (File)
Sep 28 2024, 6:33 AM
Subscribers

Details

Summary

Received a warn that the chrono::NaiveDateTime::from_timestamp is deprecated. Replaced this with recommended method which also simplified our code

Depends on D12176

Test Plan
  • cargo check
  • CI - there are some unit and integration tests that rely on timestamps

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage