#system-time #chrono #convert #date-time #user-friendly #single #format

systime_converter

A library providing one single function: convert a standard-libary SystemTime into the much more user-friendly DateTime format used by the Chrono crate

1 unstable release

Uses old Rust 2015

0.1.0 Jul 29, 2017

#28 in #system-time

ISC license

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