From 2b5396d96b42fcfea56c48de638ae6419e22c5fc Mon Sep 17 00:00:00 2001 From: Leufolium Date: Mon, 18 Mar 2024 23:34:49 +0800 Subject: [PATCH] by robin at 20240318; alter text for punishing --- dbstruct/accountpunishment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbstruct/accountpunishment.go b/dbstruct/accountpunishment.go index 03e15930..9588743a 100644 --- a/dbstruct/accountpunishment.go +++ b/dbstruct/accountpunishment.go @@ -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 {