aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/renderer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index 5298f21..f39cc64 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -915,7 +915,7 @@ fn humanize_systemtime(src_time: Option<SystemTime>) -> Option<String> {
.and_then(|from_now| Duration::from_std(from_now).ok())
.map(|duration| {
if duration < Duration::seconds(11) {
- format!("now")
+ "now".to_string()
} else {
HumanTime::from(duration).to_text_en(Accuracy::Rough, Tense::Past)
}