How can I display a formatted date from a Unix timestamp in twig?
If you just divide it by 1000 there might be an error likeFailed to parse time string (1384361503.5) at position 7
I would add round function to it
{% set timestamp = (rating.ratingDate / 1000)|round(0, 'floor') %}{{timestamp|date('d. M Y')}}
I know I am playing an archaeologist but it might be helpful for someone.