forked from Gitlink/forgeplus
流水线查询返回时间格式化
This commit is contained in:
parent
cb6c4b1e3f
commit
da1a992670
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue