mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:时间返回
This commit is contained in:
@@ -12,6 +12,7 @@ if tag.present? && tag.is_a?(Hash)
|
||||
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']
|
||||
|
||||
Reference in New Issue
Block a user