+ var since time.Time
+ url_since := r.FormValue("since")
+ if url_since != "" {
+ err := json.Unmarshal([]byte(url_since), &since)
+ if err != nil {
+ log.Print("fetch: parse since: ", err)
+ w.WriteHeader(http.StatusBadRequest)
+ w.Write([]byte("Could not parse since as date"))
+ return
+ }
+ }