mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-20 08:13:50 +02:00
fix 2962
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Settings } from "../Settings/Settings";
|
||||
import { EqualityFunc } from "../types";
|
||||
import { isString } from "./helpers/isString";
|
||||
|
||||
@@ -39,10 +40,10 @@ function convertTimeMsToTimeElapsedString(time: number, showMilli = false): stri
|
||||
if (days > 0) {
|
||||
res += `${days} days `;
|
||||
}
|
||||
if (hours > 0) {
|
||||
if (hours > 0 || (Settings.ShowMiddleNullTimeUnit && res != "")) {
|
||||
res += `${hours} hours `;
|
||||
}
|
||||
if (minutes > 0) {
|
||||
if (minutes > 0 || (Settings.ShowMiddleNullTimeUnit && res != "")) {
|
||||
res += `${minutes} minutes `;
|
||||
}
|
||||
res += `${seconds} seconds`;
|
||||
|
||||
Reference in New Issue
Block a user