Skip to content

Commit

Permalink
Missing CSS classes for date in tables fixed #25
Browse files Browse the repository at this point in the history
  • Loading branch information
ciddi89 committed Mar 16, 2023
1 parent d75483a commit 8c2824b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ class LogParser extends utils.Adapter {
const lpLogObject = lpLogObjects[i];
const f = await this.objArrayGetObjByVal(this.config.parserRules, 'name', lpFilterName); // the filter object
this.g_allLogs[lpFilterName][i].date = await this.tsToDateString(lpLogObject.ts, f.dateformat, this.config.txtToday, this.config.txtYesterday);
if (this.config.cssDate) this.g_allLogs[lpFilterName][i].date = `<span class='logInfo logDate'>${this.g_allLogs[lpFilterName][i].date}</span>`;
}

// Second: Update all JSON States
Expand Down

0 comments on commit 8c2824b

Please sign in to comment.