summaryrefslogtreecommitdiff
path: root/forms.go
diff options
context:
space:
mode:
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
}