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
types/datetime: replace deprecated chrono::Date* with NaiveDate
The chrono crate deprecated the Date and DateTime APIs in favor
of NaiveDate* and also added interfaces like from_ymd_opt()
which return Options. Many APIs inside Utc::* have also been
deprecated.
Eventually the deprecated APIs will be removed so this migrates
to the new APIs (NaiveDate is already implemented, so we just
do the minimal required migration).
Deprecation started since 0.4.23:
https://docs.rs/chrono/0.4.31/chrono/struct.Date.html
While at it, also bump the chrono dep 0.4.20 -> 0.4.31 and fix
all test cases.
Closes: #530
0 commit comments