Fix incorrect day-of-week on the UI. Closes #942.
This commit is contained in:
parent
9c94efb863
commit
bea1680360
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ export default class Utils {
|
|||
}
|
||||
|
||||
const d = dayjs(stamp);
|
||||
const day = this.i18n.t(`globals.days.${d.day()}`);
|
||||
const day = this.i18n.t(`globals.days.${d.day() + 1}`);
|
||||
const month = this.i18n.t(`globals.months.${d.month() + 1}`);
|
||||
let out = d.format(`[${day},] DD [${month}] YYYY`);
|
||||
if (showTime) {
|
||||
|
|
Loading…
Reference in a new issue