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)
Mon, Dec 16, 1:26 PM
Unknown Object (File)
Mon, Dec 16, 1:26 PM
Unknown Object (File)
Mon, Dec 16, 1:26 PM
Unknown Object (File)
Mon, Dec 16, 1:26 PM
Unknown Object (File)
Mon, Dec 16, 1:26 PM
Unknown Object (File)
Mon, Dec 9, 3:40 AM
Unknown Object (File)
Mon, Dec 2, 1:35 AM
Unknown Object (File)
Thu, Nov 28, 3:55 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
Lint Not Applicable
Unit
Tests Not Applicable