mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
simplewallet: correct number of human-readable months
This commit is contained in:
parent
0dddfeacc9
commit
2fd9be1646
1 changed files with 1 additions and 1 deletions
|
@ -6268,7 +6268,7 @@ static std::string get_human_readable_timespan(std::chrono::seconds seconds)
|
||||||
if (ts < 3600 * 24 * 30.5)
|
if (ts < 3600 * 24 * 30.5)
|
||||||
return std::to_string((uint64_t)(ts / (3600 * 24))) + tr(" days");
|
return std::to_string((uint64_t)(ts / (3600 * 24))) + tr(" days");
|
||||||
if (ts < 3600 * 24 * 365.25)
|
if (ts < 3600 * 24 * 365.25)
|
||||||
return std::to_string((uint64_t)(ts / (3600 * 24 * 365.25))) + tr(" months");
|
return std::to_string((uint64_t)(ts / (3600 * 24 * 30.5))) + tr(" months");
|
||||||
return tr("a long time");
|
return tr("a long time");
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue