mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
* fix time in webconsole (#496)
This commit is contained in:
parent
9ddfc750e5
commit
89d2505a7c
@ -241,15 +241,15 @@ namespace http {
|
|||||||
|
|
||||||
if ((num = seconds / 86400) > 0) {
|
if ((num = seconds / 86400) > 0) {
|
||||||
s << num << " days, ";
|
s << num << " days, ";
|
||||||
seconds -= num;
|
seconds -= num * 86400;
|
||||||
}
|
}
|
||||||
if ((num = seconds / 3600) > 0) {
|
if ((num = seconds / 3600) > 0) {
|
||||||
s << num << " hours, ";
|
s << num << " hours, ";
|
||||||
seconds -= num;
|
seconds -= num * 3600;
|
||||||
}
|
}
|
||||||
if ((num = seconds / 60) > 0) {
|
if ((num = seconds / 60) > 0) {
|
||||||
s << num << " min, ";
|
s << num << " min, ";
|
||||||
seconds -= num;
|
seconds -= num * 60;
|
||||||
}
|
}
|
||||||
s << seconds << " seconds";
|
s << seconds << " seconds";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user