diff --git a/attendees.go b/attendees.go index 55000b5..f59185a 100644 --- a/attendees.go +++ b/attendees.go @@ -183,7 +183,7 @@ func AttendeeHandler(w http.ResponseWriter, r *http.Request) { return } - today := time.Now().UTC().Truncate(time.Hour * 24) + today := time.Now().Truncate(time.Hour * 24) if r.Method == "POST" { attendee_json := r.PostFormValue("attendee") diff --git a/suggestions.go b/suggestions.go index 9708e1f..1dbad62 100644 --- a/suggestions.go +++ b/suggestions.go @@ -204,7 +204,7 @@ func SuggestionHandler(w http.ResponseWriter, r *http.Request) { return } - today := time.Now().UTC().Truncate(time.Hour * 24) + today := time.Now().Truncate(time.Hour * 24) if r.Method == "POST" { suggestion_json := r.PostFormValue("suggestion")