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.
|
||
|---|---|---|
| .. | ||
| accounts | ||
| membership | ||
| membership_fees | ||
| mix/tasks | ||
| mv | ||
| mv_web | ||
| mv.ex | ||
| mv_web.ex | ||