This commit is contained in:
2021-07-20 19:59:28 +00:00
parent 666bac98f4
commit 431d2458bf
2 changed files with 13 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ export default {
///////////////////////////////////////////
// Turn a duration value into a display
//
durationLocalized(value) {
durationLocalized(value, hideSeconds) {
let theDays = 0;
let theHours = 0;
let theMinutes = 0;
@@ -219,7 +219,7 @@ export default {
window.$gz.translation.get("TimeSpanMinutes") +
" ";
}
if (theSeconds != 0) {
if (!hideSeconds && theSeconds != 0) {
ret +=
theSeconds +
" " +