From 1619cb52fa7a7082a1fd3f8234db825dc9155713 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 1 Dec 2021 02:21:08 +0400 Subject: [PATCH] Replaced date formats variable name. --- homepage/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homepage/index.js b/homepage/index.js index 128cda2..b67316c 100644 --- a/homepage/index.js +++ b/homepage/index.js @@ -139,8 +139,8 @@ const app = new Koa(); const pug = new koaPug({ viewPath: path.join(__dirname, "views"), locals: { - date_: (date, tz) => util.datetime(date, util.formats.post_date, tz), - mindflowDateToId: (date, tz) => util.datetime(date, util.formats.id_date, tz), + date_: (date, tz) => util.datetime(date, util.date_formats.post_date, tz), + mindflowDateToId: (date, tz) => util.datetime(date, util.date_formats.id_date, tz), rssLink: util.rssLink }, app: app });