Mercurial > gemma
changeset 3519:a6128caca3c1
stretches/sections: availability. fixed typo in 'from' parameter parsing.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 29 May 2019 12:04:19 +0200 |
parents | 4cd4375efd5d |
children | b9e331c1e616 |
files | pkg/controllers/stretches.go |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/controllers/stretches.go Wed May 29 11:07:27 2019 +0200 +++ b/pkg/controllers/stretches.go Wed May 29 12:04:19 2019 +0200 @@ -418,7 +418,7 @@ return } - from, ok := parseFormTime(rw, req, "form", time.Now().AddDate(-1, 0, 0)) + from, ok := parseFormTime(rw, req, "from", time.Now().AddDate(-1, 0, 0)) if !ok { return }