Merge pull request #8873 from bitsf/tag_retention_log_time

show empty if time is 0
This commit is contained in:
Wang Yan 2019-08-29 12:39:22 +08:00 committed by GitHub
commit 03309680ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")
}