From 71be796af50c407281a40e61e4199a87e0a19314 Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Mon, 24 Aug 2015 09:34:18 -0400 Subject: [PATCH] Remove extraneous spaces in relative time printing --- src/time.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/time.cpp b/src/time.cpp index 20d003e..27dd848 100644 --- a/src/time.cpp +++ b/src/time.cpp @@ -117,7 +117,7 @@ namespace fc { return result.str(); } uint32_t years_ago = days_ago / 365; - result << years_ago << " year" << (months_ago > 1 ? "s " : " "); + result << years_ago << " year" << (months_ago > 1 ? "s" : ""); if (months_ago < 12 * 5) { uint32_t leftover_days = days_ago - (years_ago * 365);