I'm using EaDesgin/magento2-pdf-generator2 to format the customer's invoice. This works nice. But in this template I use the magento 2 variable {{var invoice.created_at}}, what gives me the ugly format 'yyyy-mm-dd h:i:s'
.
I want to reformat this date.
Maybe I could add a custom variable (not with backend, there I cannot use PHP functions), or a filter to invoice.created_at
. Where can I do that?