Replaced date formats variable with a new one.
This commit is contained in:
parent
f02d333ae3
commit
eedb323397
@ -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
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user