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
I am getting a deprecation warning on this:
{{ item.created_at | moment("from", "now", true) }}
value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions.
Based on this post:
The solution would be to set the output format to "DD-MM-YYYY"
But how can you do this with the "from" and "now"? Are you allowed to pass a fourth parameter?
The text was updated successfully, but these errors were encountered:
Hi all,
I am getting a deprecation warning on this:
{{ item.created_at | moment("from", "now", true) }}
value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions.
Based on this post:
The solution would be to set the output format to "DD-MM-YYYY"
But how can you do this with the "from" and "now"? Are you allowed to pass a fourth parameter?
The text was updated successfully, but these errors were encountered: