HomePhabricator
Diffusion Comm 4d5d38fa8f1b

[rust] Fix Clippy warnings about DateTime

Description

[rust] Fix Clippy warnings about DateTime

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

Reviewers: varun

Reviewed By: varun

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D12178

Details

Provenance
bartekAuthored on May 21 2024, 6:05 AM
Reviewer
varun
Differential Revision
D12178: [rust] Fix Clippy warnings about DateTime
Parents
rCOMM617ea3f3a825: [blob] Fix Clippy warnings in Blob service
Branches
Unknown
Tags
Unknown