From 0aeea4724a9c3008443e98ce7d6e4b0846033473 Mon Sep 17 00:00:00 2001 From: defnax Date: Fri, 25 Sep 2009 12:32:05 +0000 Subject: [PATCH] set days from 100 to 365 days. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1685 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/util/misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/util/misc.h b/retroshare-gui/src/util/misc.h index 845d4dfd4..03642766e 100644 --- a/retroshare-gui/src/util/misc.h +++ b/retroshare-gui/src/util/misc.h @@ -318,7 +318,7 @@ class misc : public QObject{ } int days = hours / 24; hours = hours - days * 24; - if(days < 100) { + if(days < 365) { return tr("%1d %2h %3m", "e.g: 2days 10hours 2minutes").arg(QString::fromUtf8(misc::toString(days).c_str())).arg(QString::fromUtf8(misc::toString(hours).c_str())).arg(QString::fromUtf8(misc::toString(minutes).c_str())); } return tr("Unknown");