Skip to content

Commit

Permalink
Fix uptime display in machine status page.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed May 14, 2020
1 parent 84070ec commit ff7db29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythfrontend/statusbox.cpp
Expand Up @@ -1184,9 +1184,9 @@ static QString uptimeStr(time_t uptime)
{
astext = QString("%1, %2")
.arg(StatusBox::tr("%n day(s)", "", days))
.arg(MythFormatTimeMs(secs, "H:mm"));
.arg(MythFormatTime(secs, "H:mm"));
} else {
astext = MythFormatTimeMs(secs, "H:mm:ss");
astext = MythFormatTime(secs, "H:mm:ss");
}
return str + astext;
}
Expand Down

0 comments on commit ff7db29

Please sign in to comment.