Display the uptime in a more readable way

This adds CString::ToTimeStr() which converts a number of seconds into
a human readable time string.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1107 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-06-27 09:55:55 +00:00
parent 9e6d05a0bd
commit b2512e55ea
3 changed files with 28 additions and 1 deletions
+1
View File
@@ -129,6 +129,7 @@ public:
static CString ToPercent(double d);
static CString ToByteStr(unsigned long long d);
static CString ToTimeStr(unsigned long s);
bool ToBool() const;
short ToShort() const;