diff --git a/homepage/index.js b/homepage/index.js index 128cda2..b67316c 100644 --- a/homepage/index.js +++ b/homepage/index.js @@ -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 });