🎨 New template functions ISOYear and ISOMonth https://github.com/siyuan-note/siyuan/issues/15679

This commit is contained in:
Daniel 2025-08-26 21:16:34 +08:00
parent d445163b2f
commit d684bb41b1
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 17 additions and 0 deletions

View file

@ -44,6 +44,8 @@ func BuiltInTemplateFuncs() (ret template.FuncMap) {
ret["WeekdayCN"] = util.WeekdayCN
ret["WeekdayCN2"] = util.WeekdayCN2
ret["ISOWeek"] = util.ISOWeek
ret["ISOYear"] = util.ISOYear
ret["ISOMonth"] = util.ISOMonth
ret["pow"] = pow
ret["powf"] = powf
ret["log"] = log