mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 16:35:44 +00:00
Merge pull request #8873 from bitsf/tag_retention_log_time
show empty if time is 0
This commit is contained in:
commit
03309680ff
|
@ -197,6 +197,9 @@ func arn(art *res.Candidate) string {
|
|||
}
|
||||
|
||||
func t(tm int64) string {
|
||||
if tm == 0 {
|
||||
return ""
|
||||
}
|
||||
return time.Unix(tm, 0).Format("2006/01/02 15:04:05")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user