Formatting of date

Here you see how date from JSON can be formatted by twig.
Example of JSON with dates:

For that create a JCI-Template with:

time: {{time}}<br>
time-formatted: {{ time | date("l d.m.Y") }}<br>
date: {{date}}<br>
date-formatted: {{ date | date("l d.m.Y") }}<br>
otherdate: {{otherdate}}<br>
otherdate-formatted: {{ otherdate | date("l d.m.Y H:i:s") }}<br>

Then add [[jsoncontentimporterpro nameoftemplate="dateformatting"]] to a page:

time: 1709258862
time-formatted: Friday 01.03.2024
date: 2022-10-06T00:00:00.000+0000
date-formatted: Thursday 06.10.2022
otherdate: Fri, 01 Mar 24 03:07:42 +0100
otherdate-formatted: Friday 01.03.2024 02:07:42