-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update chrono APIs to unblock third-party upgrade
Summary: We get deprecated warnings in chrono 0.4.38 ``` error: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead --> fbcode/hermetic_infra/hermit/detcore/tests/time/mod.rs:193:32 | 193 | NaiveDateTime::from_timestamp_opt(tp.tv_sec, tp.tv_nsec as u32).unwrap(); | ^^^^^^^^^^^^^^^^^^ ``` this blocks upgrade of rust third-party Reviewed By: jagill Differential Revision: D56829596 fbshipit-source-id: b7d481c647a87511ffad92ece3e3511c44b5c1c3
- Loading branch information
1 parent
552df53
commit 5ebb3fa
Showing
1 changed file
with
5 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters