Carbon not displaying the year correctly.
Created 6 years ago by gonziisI tried using post.publish_at.date|date("d/m/Y")
and also {{ carbon(post.publish_at.date, "Europe/Riga").format("d/m/Y") }}
but both always show the incorrect year. One of the posts has publish year 2017, but it still displays 2018. post.publish_at.date|raw
shows 2017
That is incorrect usage I do believe - treat the field like carbon itself:
That should work just fine: https://pyrocms.com/documentation/datetime-field-type/3.0/usage/presenter-output