notquiteamonad / date_time

date_time is a high-level Rust library for use in situations where precision beyond seconds is not necessary.
Apache License 2.0
8 stars 5 forks source link

Make readable strings customisable #27

Open notquiteamonad opened 5 years ago

notquiteamonad commented 5 years ago

Have a format more similar to the std::fmt string for getting readable strings.

For example, some users of the library may want to be able to output 2019 Jan 12 whereas others would prefer 12th January '19 or simply 12-1-19.