Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update chrono APIs #51

Closed
wants to merge 1 commit into from

Commits on May 1, 2024

  1. update chrono APIs

    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
    
    Differential Revision: D56829596
    Mike Lui authored and facebook-github-bot committed May 1, 2024
    Configuration menu
    Copy the full SHA
    c6a5cc9 View commit details
    Browse the repository at this point in the history