You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building, we get a few of these warnings. Let's migrate from from_timestamp() to from_timestamp_opt().
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
--> src/state/thread.rs:557:28
|
557 | NaiveDateTime::from_timestamp(after, 0),
| ^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
The text was updated successfully, but these errors were encountered:
When building, we get a few of these warnings. Let's migrate from
from_timestamp()
tofrom_timestamp_opt()
.The text was updated successfully, but these errors were encountered: