use chrono_humanize for datetime formatting (#3834)

* use chrono_humanize for datetime formatting

* fix tests
This commit is contained in:
Kat Marchán
2021-07-25 01:38:45 -07:00
committed by GitHub
parent fcd624a722
commit 9120a64cfb
4 changed files with 18 additions and 126 deletions

View File

@ -51,8 +51,8 @@ impl WholeStreamCommand for Command {
|-|-|-|-|
|Andres.txt|File|10|2 years ago|
|Jonathan|Dir|5|2 years ago|
|Darren.txt|File|20|1 year ago|
|Yehuda|Dir|4|1 year ago|
|Darren.txt|File|20|2 years ago|
|Yehuda|Dir|4|2 years ago|
"#))]),
},
Example {
@ -63,8 +63,8 @@ impl WholeStreamCommand for Command {
| ---------- | ---- | -------- | ----------- |
| Andres.txt | File | 10 | 2 years ago |
| Jonathan | Dir | 5 | 2 years ago |
| Darren.txt | File | 20 | 1 year ago |
| Yehuda | Dir | 4 | 1 year ago |
| Darren.txt | File | 20 | 2 years ago |
| Yehuda | Dir | 4 | 2 years ago |
"#))]),
},
Example {