diff options
author | Gusted <williamzijl7@hotmail.com> | 2021-08-04 03:20:45 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-08-04 11:01:05 +0200 |
commit | 5265ac59b1c8f40ced2294be72a41746b5a8a041 (patch) | |
tree | 8906fe71185b37c2f1f78df6ab04da64b3294bea /plugins/caldav | |
parent | 5d290410ee22092535533a1ba10ee7ad288342e2 (diff) | |
download | alps-5265ac59b1c8f40ced2294be72a41746b5a8a041.tar.gz alps-5265ac59b1c8f40ced2294be72a41746b5a8a041.zip |
Simplify
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) } |