Browse Source

更改:项目列表返回具体时间

pull/347/head
yystopf 1 year ago
parent
commit
c640b81de2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/views/projects/index.json.jbuilder

+ 1
- 0
app/views/projects/index.json.jbuilder View File

@@ -13,6 +13,7 @@ json.projects @projects do |project|
json.mirror_url project.repository&.mirror_url
json.type project&.numerical_for_project_type
json.last_update_time render_unix_time(project.updated_on)
json.full_last_update_time project.updated_on
json.time_ago time_from_now(project.updated_on)
json.forked_from_project_id project.forked_from_project_id
json.open_devops project.open_devops?


Loading…
Cancel
Save