stuff
This commit is contained in:
parent
13d1c873ad
commit
b9c7759843
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue