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.
|
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| helpers | ||
| live | ||
| member_live | ||
| plugs | ||
| user_live | ||
| authorization_test.exs | ||
| locale_test.exs | ||