Page MenuHomePhabricator

[rust] Fix Clippy warnings about DateTime
ClosedPublic

Authored by bartek on May 22 2024, 5:55 AM.
Tags
None
Referenced Files
F2832968: D12178.id40726.diff
Sat, Sep 28, 6:33 AM
Unknown Object (File)
Thu, Sep 26, 1:17 AM
Unknown Object (File)
Thu, Sep 26, 1:17 AM
Unknown Object (File)
Thu, Sep 26, 1:17 AM
Unknown Object (File)
Thu, Sep 26, 1:15 AM
Unknown Object (File)
Thu, Sep 26, 1:15 AM
Unknown Object (File)
Aug 29 2024, 2:26 AM
Unknown Object (File)
Aug 28 2024, 11:17 PM
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