diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-08-22 20:52:43 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-08-22 20:52:43 -0500 |
| commit | 3f662876e68a3ef6b9ca3e2a3aff10fbda8c3599 (patch) | |
| tree | 1de11f7dbe4e888e93c2551a2070904688d9a2cd | |
| parent | 4e6187faf36c6ffd2ccb89e822c16a34e46e76a9 (diff) | |
| parent | 2fd9be1646e331b68e4ce4ffc221bd81e85f4eaa (diff) | |
| download | monzero-core-3f662876e68a3ef6b9ca3e2a3aff10fbda8c3599.tar.gz monzero-core-3f662876e68a3ef6b9ca3e2a3aff10fbda8c3599.tar.xz monzero-core-3f662876e68a3ef6b9ca3e2a3aff10fbda8c3599.zip | |
Merge pull request #4225
2fd9be1 simplewallet: correct number of human-readable months (rbrunner7)
| -rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 038605725..e0dbe96e7 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -6483,7 +6483,7 @@ static std::string get_human_readable_timespan(std::chrono::seconds seconds) if (ts < 3600 * 24 * 30.5) return std::to_string((uint64_t)(ts / (3600 * 24))) + tr(" days"); 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"); } //---------------------------------------------------------------------------------------------------- |
