qoollo / bob

Distributed BLOB storage
MIT License
31 stars 3 forks source link

Fix warning about deprecated function `chrono::DateTime::<Tz>::from_utc` #832

Closed ikopylov closed 1 year ago

ikopylov commented 1 year ago

Location: https://github.com/qoollo/bob/blob/master/bob-backend/src/pearl/utils.rs#L96

Warning text:

use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead