Changed "Last (estimated) print time" to real time
To answer https://github.com/foosel/OctoPrint/issues/1048 I changed L357 to "output += gettext("Last Print Time") + ": " + formatDuration(data["prints"]["last"]["printTime"]);" as proposed by @ntoff
This commit is contained in:
parent
354042b84d
commit
369e43eb0e
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ $(function() {
|
|||
if (data["prints"] && data["prints"]["last"]) {
|
||||
output += gettext("Last printed") + ": " + formatTimeAgo(data["prints"]["last"]["date"]) + "<br>";
|
||||
if (data["prints"]["last"]["lastPrintTime"]) {
|
||||
output += gettext("Last print time") + ": " + formatDuration(data["prints"]["last"]["lastPrintTime"]);
|
||||
output += gettext("Last Print Time") + ": " + formatDuration(data["prints"]["last"]["printTime"]);
|
||||
}
|
||||
}
|
||||
return output;
|
||||
|
|
|
|||
Loading…
Reference in a new issue