Replaced date formats variable name.

This commit is contained in:
Alexander Andreev 2021-12-01 02:21:08 +04:00
parent eedb323397
commit 1619cb52fa
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -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
});