From 7bae1e60bcfdac0a89938319c7b16fcb24e96925 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 05:45:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BB=B4=E6=8A=A4=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index c51c366..e2106a8 100644 --- a/routes/index.js +++ b/routes/index.js @@ -49,7 +49,7 @@ router.post('/deploy', function(req, res, next) { //提交日志,多次提交只取第一个 const commitsMsg=req.body.commits[0].message //更新时间 - const updated_at= moment(req.body.repository.updated_at).utcOffset(480).format('yyyy-MM-DD HH:mm:ss') + const updated_at= moment(req.body.repository.updated_at).format('yyyy-MM-DD HH:mm:ss') //仓库名字 const name=req.body.repository.name //仓库描述信息