Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix incorrect day-of-week on the UI. Closes #942.

Kailash Nadhbea1680360b7
diff --git a/frontend/src/utils.js b/frontend/src/utils.js
index f7d97ff7..2283c460 100644
--- a/frontend/src/utils.js
+++ b/frontend/src/utils.js
@@ -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) {