summaryrefslogtreecommitdiff
path: root/forms.go
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2017-04-19 21:35:08 +0200
committerJan Dittberner <jan@dittberner.info>2017-04-22 00:12:38 +0200
commit0ce9ad6dcc01375cb3f2d57f7bbdf701e605bea1 (patch)
tree8de15dd825d80e025764614f6324343771b8231a /forms.go
parentbc194e8943bdec58ef462e393ef2a8a59d928718 (diff)
downloadcacert-boardvoting-0ce9ad6dcc01375cb3f2d57f7bbdf701e605bea1.tar.gz
cacert-boardvoting-0ce9ad6dcc01375cb3f2d57f7bbdf701e605bea1.tar.xz
cacert-boardvoting-0ce9ad6dcc01375cb3f2d57f7bbdf701e605bea1.zip
Implement withdraw motion
Diffstat (limited to 'forms.go')
-rw-r--r--forms.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/forms.go b/forms.go
index 503e7e5..b7b7225 100644
--- a/forms.go
+++ b/forms.go
@@ -50,8 +50,6 @@ func (f *NewDecisionForm) Validate() (bool, *Decision) {
data.Due = time.Date(year, month, day, 23, 59, 59, 0, time.UTC)
}
- data.Proposed = time.Now().UTC()
-
return len(f.Errors) == 0, data
}
@@ -92,7 +90,5 @@ func (f *EditDecisionForm) Validate() (bool, *Decision) {
data.Due = time.Date(year, month, day, 23, 59, 59, 0, time.UTC)
}
- data.Modified = time.Now().UTC()
-
return len(f.Errors) == 0, data
}