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({
|
const pug = new koaPug({
|
||||||
viewPath: path.join(__dirname, "views"),
|
viewPath: path.join(__dirname, "views"),
|
||||||
locals: {
|
locals: {
|
||||||
date_: (date, tz) => util.datetime(date, util.formats.post_date, tz),
|
date_: (date, tz) => util.datetime(date, util.date_formats.post_date, tz),
|
||||||
mindflowDateToId: (date, tz) => util.datetime(date, util.formats.id_date, tz),
|
mindflowDateToId: (date, tz) => util.datetime(date, util.date_formats.id_date, tz),
|
||||||
rssLink: util.rssLink },
|
rssLink: util.rssLink },
|
||||||
app: app
|
app: app
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user