Closed eliknebel closed 1 month ago
https://eliterate.atlassian.net/browse/MER-3553
This PR addresses an issue where FormatDateTime.maybe_localized_datetime might return {:not_localized, ...} which then gets piped into DateTime.to_date() and crashes the page.
FormatDateTime.maybe_localized_datetime
{:not_localized, ...}
DateTime.to_date()
https://eliterate.atlassian.net/browse/MER-3553
This PR addresses an issue where
FormatDateTime.maybe_localized_datetime
might return{:not_localized, ...}
which then gets piped intoDateTime.to_date()
and crashes the page.