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
The deprecation notice says to replace ymd -> with_ymd_and_hms. This obviously doesn't work directly with_ymd_and_hms has a different return type to ymd.
Also, the deprecation notice for Date::and_hms_micro incorrectly suggests to use Date::and_hms_micro_opt instead, however Date itself is deprecated so this doesn't seem right.
On the other hand there don't seem to be any with_micro or with_milli functions on DateTime, so I have to do:
Prior to #827 we could do:
The deprecation notice says to replace
ymd -> with_ymd_and_hms
. This obviously doesn't work directlywith_ymd_and_hms
has a different return type toymd
.Also, the deprecation notice for
Date::and_hms_micro
incorrectly suggests to useDate::and_hms_micro_opt
instead, howeverDate
itself is deprecated so this doesn't seem right.On the other hand there don't seem to be any
with_micro
orwith_milli
functions onDateTime
, so I have to do:Is there an "official" way to do this after 0.4.23?
The text was updated successfully, but these errors were encountered: