timeago
timeago copied to clipboard
In Rust, format Duration into a string like "1 hour ago" or "01hou".
I'm not sure if it's any good. Although it looks more right (and less verbose and easier than `and`s), a list of `timeago`s would look less nice. Maybe better to...
Based on https://www.reddit.com/r/rust/comments/875l6b/announcing_timeago_v011_now_with_translations/dwbidrg/
It would be nice to have the equivalent of `.ago("ago")` but for future times like `.in("in")` so when you have a time in the future it says `in 8 hours`...
This adds a new `EnglishAbbreviated` `Language` which takes advantage of the additional `Language` methods introduced in https://github.com/vi/timeago/pull/36 in order to produce more compact output. I'm not sure this feature is...