Skip to content

Commit

Permalink
WeekStartDate leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
lowply committed Jan 6, 2020
1 parent 97f268a commit 99451c4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ This action opens a new issue from an issue template. It parses the template's f

## Available template variables

- `.WeekStartDate`: Date of Monday of the week
- `.Year`: Year of the day when this action runs
- `.Month`: Month of the day when this action runs
- `.Day`: Day when this action runs
Expand Down
1 change: 0 additions & 1 deletion src/date.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ func NewDate(t time.Time) *date {
}
n := nc.With(t)

d.WeekStartDate = n.BeginningOfWeek().Format("01/02")
d.Year = strconv.Itoa(n.Year())
d.Month = fmt.Sprintf("%02d", int(n.Month()))
d.Day = fmt.Sprintf("%02d", n.Day())
Expand Down

0 comments on commit 99451c4

Please sign in to comment.