by robin at 20240318; alter text for punishing

This commit is contained in:
Leufolium 2024-03-18 23:34:49 +08:00
parent 3d0dbb6ca2
commit 2b5396d96b
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ func (p *AccountPunishment) GetEndTimeFormatString() string {
if p == nil || p.EndTime == nil {
return ""
}
return time.Unix(util.DerefInt64(p.EndTime), 0).Local().Format("2006年1月2日 15时04分05秒")
return time.Unix(util.DerefInt64(p.EndTime), 0).Local().Format("1/2 15:04")
}
func (p *AccountPunishment) IsPermanent() bool {