aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet/simplewallet.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-08-22 20:52:43 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-08-22 20:52:43 -0500
commit3f662876e68a3ef6b9ca3e2a3aff10fbda8c3599 (patch)
tree1de11f7dbe4e888e93c2551a2070904688d9a2cd /src/simplewallet/simplewallet.cpp
parentMerge pull request #4224 (diff)
parentsimplewallet: correct number of human-readable months (diff)
downloadmonero-3f662876e68a3ef6b9ca3e2a3aff10fbda8c3599.tar.xz
Merge pull request #4225
2fd9be1 simplewallet: correct number of human-readable months (rbrunner7)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r--src/simplewallet/simplewallet.cpp2
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");
}
//----------------------------------------------------------------------------------------------------