Page MenuHomePhabricator

[rust] Fix Clippy warnings about DateTime
ClosedPublic

Authored by bartek on May 22 2024, 5:55 AM.
Tags
None
Referenced Files
F2131894: D12178.id40535.diff
Thu, Jun 27, 8:08 PM
Unknown Object (File)
Sat, Jun 22, 8:18 PM
Unknown Object (File)
Sat, Jun 22, 3:59 AM
Unknown Object (File)
Sat, Jun 22, 3:59 AM
Unknown Object (File)
Sat, Jun 22, 3:59 AM
Unknown Object (File)
Sat, Jun 22, 3:58 AM
Unknown Object (File)
Sat, Jun 22, 3:58 AM
Unknown Object (File)
Fri, Jun 14, 12:49 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