From eedb323397a01f4419fd52daa05dabd0904d3e4d Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 1 Dec 2021 02:20:42 +0400 Subject: [PATCH] Replaced date formats variable with a new one. --- files/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/index.js b/files/index.js index 22fbc77..7f3b80a 100644 --- a/files/index.js +++ b/files/index.js @@ -106,7 +106,7 @@ const app = new Koa(); const pug = new koaPug({ viewPath: path.join(__dirname, "views"), locals: { - moment: (date, tz) => util.datetime(date, util.formats.file_date, tz), }, + moment: (date, tz) => util.datetime(date, util.date_formats.file_date, tz), }, app: app });