This commit is contained in:
Mirco Wittrien 2021-03-10 12:51:23 +01:00
parent 13d1c873ad
commit b9c7759843
5 changed files with 5 additions and 5 deletions

View File

@ -383,7 +383,7 @@ module.exports = (_ => {
return BDFDB.TimeUtils.suppress(_ => {
return BDFDB.StringUtils.formatTime(time, Object.assign({
language: languageId,
formatString: languageId != "own" && (formats[isTooltip ? "ownFormatTool" : "ownFormat"])
formatString: languageId == "own" && (formats[isTooltip ? "ownFormatTool" : "ownFormat"])
}, settings, amounts));
}, "Failed to create Timestamp!", config.info)() || "Failed Timestamp";
}

View File

@ -289,7 +289,7 @@ module.exports = (_ => {
getTimestamp (languageId, time) {
return BDFDB.StringUtils.formatTime(time, Object.assign({
language: languageId,
formatString: languageId != "own" && formats.ownFormat
formatString: languageId == "own" && formats.ownFormat
}, settings, amounts));
}

View File

@ -305,7 +305,7 @@ module.exports = (_ => {
getTimestamp (languageId, time) {
return BDFDB.StringUtils.formatTime(time, Object.assign({
language: languageId,
formatString: languageId != "own" && formats.ownFormat
formatString: languageId == "own" && formats.ownFormat
}, settings, amounts));
}

View File

@ -332,7 +332,7 @@ module.exports = (_ => {
getTimestamp (languageId, time) {
return BDFDB.StringUtils.formatTime(time, Object.assign({
language: languageId,
formatString: languageId != "own" && formats.ownFormat
formatString: languageId == "own" && formats.ownFormat
}, settings, amounts));
}

View File

@ -477,7 +477,7 @@ module.exports = (_ => {
getTimestamp (languageId, time) {
return BDFDB.StringUtils.formatTime(time, Object.assign({
language: languageId,
formatString: languageId != "own" && formats.ownFormat
formatString: languageId == "own" && formats.ownFormat
}, settings, amounts));
}