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