Use local time instead of UTC

This commit is contained in:
Aaron Lindsay 2017-09-15 13:28:39 -04:00
parent a0534f78a8
commit 43919b3eca
2 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ func AttendeeHandler(w http.ResponseWriter, r *http.Request) {
return return
} }
today := time.Now().UTC().Truncate(time.Hour * 24) today := time.Now().Truncate(time.Hour * 24)
if r.Method == "POST" { if r.Method == "POST" {
attendee_json := r.PostFormValue("attendee") attendee_json := r.PostFormValue("attendee")

View File

@ -204,7 +204,7 @@ func SuggestionHandler(w http.ResponseWriter, r *http.Request) {
return return
} }
today := time.Now().UTC().Truncate(time.Hour * 24) today := time.Now().Truncate(time.Hour * 24)
if r.Method == "POST" { if r.Method == "POST" {
suggestion_json := r.PostFormValue("suggestion") suggestion_json := r.PostFormValue("suggestion")