diff --git a/README.md b/README.md index 834a161..ef5ac67 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ This action opens a new issue from an issue template. It parses the template's f - `.WeekStartDate`: Date of Monday of the week - `.WeekEndDate`: Date of Sunday of the week - `.WeekNumber`: ISO week number +- `.WeekNumberYear`: Year of the Thursday of the week. Matches with [ISO week number](https://en.wikipedia.org/wiki/ISO_week_date#First_week) - `.Dates`: Array of the dates of the week (Can be used as `{{ index .Dates 1 }}` in the template) ## Template example @@ -20,7 +21,7 @@ This action opens a new issue from an issue template. It parses the template's f --- name: Weekly Report about: This is an example -title: 'Report on {{ .WeekStartDate }} (Week {{ .WeekNumber }}, {{ .Year }})' +title: 'Report on {{ .WeekStartDate }} (Week {{ .WeekNumber }}, {{ .WeekNumberYear }})' labels: report assignees: lowply ---