From 12a48c5598d67f67bc09ceac393176200bf65865 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 21 Dec 2018 23:40:01 -0400 Subject: [PATCH 1/2] build: eslint@5.10.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7775fe6..86aa0f1 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "on-headers": "~1.0.1" }, "devDependencies": { - "eslint": "5.9.0", + "eslint": "5.10.0", "eslint-config-standard": "12.0.0", "eslint-plugin-import": "2.14.0", "eslint-plugin-markdown": "1.0.0-rc.0", From 4bb0fef283f81348f269897c249527d7e450113e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BD=BB=E5=89=91=E5=BF=AB=E9=A9=AC?= Date: Thu, 23 May 2019 15:30:33 +0800 Subject: [PATCH 2/2] feat: add locale date string --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 4680eae..a6f22b8 100644 --- a/index.js +++ b/index.js @@ -253,6 +253,8 @@ morgan.token('date', function getDateToken (req, res, format) { return date.toISOString() case 'web': return date.toUTCString() + case 'local': + return date.toLocaleString() } })