Use local time instead of UTC
This commit is contained in:
parent
a0534f78a8
commit
43919b3eca
@ -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")
|
||||||
|
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user