Skip to content

Commit

Permalink
fix: 命名错误
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime authored Dec 3, 2023
1 parent bc81f6c commit 9196dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/model/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{", "}")
Expand Down

0 comments on commit 9196dab

Please sign in to comment.