You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When passing a value to format-date or format-time it results in an error that prevents any further render of the page. This becomes problematic when displaying a lot of table data from a server. We've added all sorts of checks in the template or model to try and prevent these, but I was curious if this is intended behavior or would it make more sense to just render a string like invalid at the library level?
Environment
Steps to Reproduce
When passing a value to
format-date
orformat-time
it results in an error that prevents any further render of the page. This becomes problematic when displaying a lot of table data from a server. We've added all sorts of checks in the template or model to try and prevent these, but I was curious if this is intended behavior or would it make more sense to just render a string likeinvalid
at the library level?Error:
Unhandled Promise Rejection: Error: [@formatjs/intl Error FORMAT_ERROR] Error formatting date.
The text was updated successfully, but these errors were encountered: