Replaced date formats variable with a new one.

This commit is contained in:
Alexander Andreev 2021-12-01 02:20:42 +04:00
parent f02d333ae3
commit eedb323397
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F
1 changed files with 1 additions and 1 deletions

View File

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