Date field having multiple values. Need to format the output.
{% for item in items %}
<div{{ attributes }}>{{ item.content|date(format="F j, Y") }}</div>
{% endfor %}
item.content
showing the date as updated. But not able to format the result. Got the below error,
TypeError: DateTime::__construct() expects parameter 1 to be string, array given in...
Please suggest on this issue.