Spelling error in TimeFormat

This commit is contained in:
Daniel van Noord
2021-01-31 17:33:41 +01:00
parent ca676c3b6a
commit 8c6de64ac9
2 changed files with 2 additions and 2 deletions

View File

@@ -1357,7 +1357,7 @@ CM.Disp.FormatTime = function(time, longFormat) {
str += (d < 10 ? '0' : '') + d + ':';
str += (h < 10 ? '0' : '') + h + ':';
str += (m < 10 ? '0' : '') + m + ':';
str += (s < 10 ? '0' : '') + s + ':';
str += (s < 10 ? '0' : '') + s;
} else {
if (time > 777600000) return longFormat ? 'Over 9000 days!' : '>9000d';
str += (y > 0 ? y + (longFormat ? (y == 1 ? ' year' : ' years') : 'y') + ', ': "");