vi / timeago

In Rust, format Duration into a string like "1 hour ago" or "01hou".
https://docs.rs/timeago/
Apache License 2.0
68 stars 17 forks source link

Helper command doesn't place `ago` properly #18

Closed joseluis closed 5 years ago

joseluis commented 5 years ago

from: src/languages/french.rs

assert_eq!(f.convert(Duration::from_secs(60)), "il y a 1 minute");

But running the command:

$ cargo run fr
    Finished dev [unoptimized + debuginfo] target(s) in 0.07s
     Running `(..)/timeago/target/debug/timeago fr`

60
1 minute il y a