aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbrunner7 <rbrunner@dreamshare.ch>2018-08-05 09:58:33 +0200
committerrbrunner7 <rbrunner@dreamshare.ch>2018-08-05 09:58:33 +0200
commit2fd9be1646e331b68e4ce4ffc221bd81e85f4eaa (patch)
tree4c88885bf61493926b227fdd8f232ca6b5d22d23 /src
parentMerge pull request #4129 (diff)
downloadmonero-2fd9be1646e331b68e4ce4ffc221bd81e85f4eaa.tar.xz
simplewallet: correct number of human-readable months
Diffstat (limited to 'src')
-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 775b7c359..0d48dba34 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -6268,7 +6268,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");
}
//----------------------------------------------------------------------------------------------------