diff options
Diffstat (limited to 'plugins/caldav')
-rw-r--r-- | plugins/caldav/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/caldav/routes.go b/plugins/caldav/routes.go index f1baa1e..d551434 100644 --- a/plugins/caldav/routes.go +++ b/plugins/caldav/routes.go @@ -134,7 +134,7 @@ func registerRoutes(p *alps.GoPlugin, u *url.URL) { var dates [7 * 6]time.Time initialDate := start.UTC() initialDate = initialDate.AddDate(0, 0, -int(initialDate.Weekday())) - for i := 0; i < len(dates); i += 1 { + for i := 0; i < len(dates); i++ { dates[i] = initialDate initialDate = initialDate.AddDate(0, 0, 1) } |