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

This commit is contained in:
Daniel 2025-08-27 16:51:25 +08:00
parent 174a7befbe
commit 6e985a5013
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 14 additions and 0 deletions

View file

@ -46,6 +46,7 @@ func BuiltInTemplateFuncs() (ret template.FuncMap) {
ret["ISOWeek"] = util.ISOWeek
ret["ISOYear"] = util.ISOYear
ret["ISOMonth"] = util.ISOMonth
ret["ISOWeekDate"] = util.ISOWeekDate
ret["pow"] = pow
ret["powf"] = powf
ret["log"] = log