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
I am in impression that the time crate is deprecated, and one should use the std::time if that's enough, and chrono for more sophisticated functionality. I've been using all the three in my project, but now I'm trying to strip it down to two. The things my migration is hinging on is how to use the formatting features on chrono. The documentation at https://docs.rs/chrono/*/chrono/format/index.html isn't very helpful, as it doesn't contain any concrete examples or even explanation how the formatting / parsing system is supposed to work.
The text was updated successfully, but these errors were encountered:
I've assumed that the landing page clearly shows how to format things (.format("strftime-like string"))---how did you get to that page at the first place? I guess the search engine directly links to that page, in which case I should put the identical information to that page as well.
I am in impression that the
time
crate is deprecated, and one should use thestd::time
if that's enough, andchrono
for more sophisticated functionality. I've been using all the three in my project, but now I'm trying to strip it down to two. The things my migration is hinging on is how to use the formatting features onchrono
. The documentation at https://docs.rs/chrono/*/chrono/format/index.html isn't very helpful, as it doesn't contain any concrete examples or even explanation how the formatting / parsing system is supposed to work.The text was updated successfully, but these errors were encountered: