diff --git a/files/index.js b/files/index.js index 22fbc77..7f3b80a 100644 --- a/files/index.js +++ b/files/index.js @@ -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 });