Remove extraneous spaces in relative time printing
This commit is contained in:
parent
18ed468c6f
commit
71be796af5
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ namespace fc {
|
||||||
return result.str();
|
return result.str();
|
||||||
}
|
}
|
||||||
uint32_t years_ago = days_ago / 365;
|
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)
|
if (months_ago < 12 * 5)
|
||||||
{
|
{
|
||||||
uint32_t leftover_days = days_ago - (years_ago * 365);
|
uint32_t leftover_days = days_ago - (years_ago * 365);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue