From da1a992670da01d92ebd56b892e1cc13910c4dd7 Mon Sep 17 00:00:00 2001 From: moshenglv Date: Wed, 13 Jan 2021 15:10:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E6=B0=B4=E7=BA=BF=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=97=B6=E9=97=B4=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/ci/pipelines/_list.json.jbuilder | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/views/ci/pipelines/_list.json.jbuilder b/app/views/ci/pipelines/_list.json.jbuilder index aab9ce142..6e091bf28 100644 --- a/app/views/ci/pipelines/_list.json.jbuilder +++ b/app/views/ci/pipelines/_list.json.jbuilder @@ -2,8 +2,5 @@ json.id pipeline.id json.pipeline_name pipeline.pipeline_name json.pipeline_status pipeline.pipeline_status json.file_name pipeline.file_name -json.created_at pipeline.created_at -json.updated_at pipeline.updated_at -json.stages pipeline.pipeline_stages do |pipeline_stage| - json.partial! "/ci/pipeline_stages/list", pipeline_stage: pipeline_stage -end +json.created_at pipeline.created_at.strftime("%Y-%m-%d %H:%M:%S") +json.updated_at pipeline.updated_at.strftime("%Y-%m-%d %H:%M:%S")