From 9196dab9958ae9019340bd4964ebb79345a6733b Mon Sep 17 00:00:00 2001 From: Frostime Date: Mon, 4 Dec 2023 01:01:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=91=BD=E5=90=8D=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/template.go b/kernel/model/template.go index 5b39f9c8b23..20bc1439aac 100644 --- a/kernel/model/template.go +++ b/kernel/model/template.go @@ -267,7 +267,7 @@ func renderTemplate(p, id string, preview bool) (string, error) { return ret } funcMap["Weekday"] = Weekday - funcMap["Weekday"] = WeekdayCN + funcMap["WeekdayCN"] = WeekdayCN funcMap["ISOWeek"] = ISOWeek goTpl := template.New("").Delims(".action{", "}")