新增:时间返回

This commit is contained in:
2024-07-04 15:09:22 +08:00
parent 551f9cbbad
commit 90fa4774d8
2 changed files with 2 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ json.tags @tags do |tag|
end
json.time_ago time_from_now(tag['tagger']['date'].to_time)
json.created_at_unix tag['tagger']['date'].to_time.to_i
json.created_time tag['tagger']['date'].to_time
json.message tag['message']
json.commit do
json.sha tag['commit']['sha']