Skip to content

Commit

Permalink
Fix zum Eintragen einer c¼ ohne Datum (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrko authored and stapelberg committed Aug 7, 2019
1 parent 8e6d79e commit be9df42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c14h/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func handlePost(res http.ResponseWriter, req *http.Request) {
return
}

if date.Day() < 8 {
if !date.IsZero() && date.Day() < 8 {
writeError(400, res, "This is the first thursday of the month. Since we currently have our Stammtisch there, you can't give a talk.")
return
}
Expand Down

0 comments on commit be9df42

Please sign in to comment.