Skip to content

New template functions ISOYear, ISOMonth and ISOWeekDate #15679

Description

@Achuan-2

新增模板函数ISOYearISOMonth

In what scenarios do you need this feature?

按 ISOweek,2025 年只有 52 周,12 月 28 日是周日,12 月 29 日就算是 2026 年的第一周了
如果周记模板选择/daily note/{{now | date "2006/01"}}/{{now | date "2006"}}W{{now | ISOWeek}},在2025年12月29日创建的周记标题会变为“2025W1”

Describe the optimal solution

希望新增一个模板函数,可以自动获取ISOYear,这样创建周记时,可以自动获取年份

参考:https://www.alibabacloud.com/help/tc/maxcompute/user-guide/isoyear

Describe the candidate solution

No response

Other information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions