Closed kzhui125 closed 5 months ago
I want a local time function that won't fail...
Last I checked, chrono
implements it in a way that is both expensive and unsound. time
does what is necessary to avoid unsoundness. This has been addressed in multiple issues previously.
Recently I try to switch
chrono
totime-rs
. But I don't find a reliable way to get local datetime. (macOS)Why doesn't
time-rs
implementlocal time
likechrono
does? including multiple thread environment.Maybe I have to switch back to
chrono
to get local time.