1 unstable release
Uses old Rust 2015
0.1.0 | Jul 29, 2017 |
---|
#26 in #system-time
4KB
systime_converter
Library providing one single function: convert a standard-libary SystemTime into the much more user-friendly DateTime format used by the Chrono crate.
For some reason chrono doesn't provide this conversion, even though it's handy for dealing with things like file metadata, etc. that are typed as SystemTime
Though the implementation is trivially simple, this is provided so that its users can perform the conversion without first having to figure out how to work with SystemTime.
lib.rs
:
Library providing one single function: convert a standard-libary SystemTime into the much more user-friendly DateTime format used by the Chrono crate.
For some reason chrono doesn't provide this conversion, even though it's handy for dealing with things like file metadata, etc. that are typed as SystemTime
Though the implementation is trivially simple, this is provided so that its users can perform the conversion without first having to figure out how to work with SystemTime.
Dependencies
~1MB
~18K SLoC