diff options
author | Jan Dittberner <jandd@cacert.org> | 2017-04-19 21:35:08 +0200 |
---|---|---|
committer | Jan Dittberner <jan@dittberner.info> | 2017-04-22 00:12:38 +0200 |
commit | 0ce9ad6dcc01375cb3f2d57f7bbdf701e605bea1 (patch) | |
tree | 8de15dd825d80e025764614f6324343771b8231a /forms.go | |
parent | bc194e8943bdec58ef462e393ef2a8a59d928718 (diff) | |
download | cacert-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.go | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 } |