Date.from_iso8601/1 returns {:error, reason}, so the with else clause matching a bare :error never fired and an invalid date raised a WithClauseError. Match the real date/calendar error reasons so the user sees the validation message.
|
||
|---|---|---|
| .. | ||
| index | ||
| show | ||
| form.ex | ||
| index.ex | ||
| index.html.heex | ||
| show.ex | ||