How to format a date+time field in a dynamic print layout


I would appreciate your help because I'm stuck with the following:

How do we format a date+time field to display only the date in dynamic printing?

I have tried to add the Carbone formatter [:formatD('L')] after the field name, but unfortunately, it doesn't work.

1 reply

    • szormpas
    • 7 mths ago
    • Reported - view

    Finally, I managed to find a solution:

    {d.dateTimeField:formatD(DD/MM/YYYY, DD/MM/YYYY HH:mm)}

Content aside

  • Status Answered
  • 7 mths agoLast active
  • 1Replies
  • 53Views
  • 1 Following