Closed carolineboeykens closed 3 years ago
I'm having some issues with the format function:
If I try this: <div class="px-1">{{ entry.eventDate.formatted("F d, Y", "-"|t) }}</div> this happens:
<div class="px-1">{{ entry.eventDate.formatted("F d, Y", "-"|t) }}</div>
If I try this: <div class="px-1">{{ entry.eventDate.formatted({ date: 'F d, Y', time: ''}, '-'|t) }}</div> this happens:
<div class="px-1">{{ entry.eventDate.formatted({ date: 'F d, Y', time: ''}, '-'|t) }}</div>
Am I doing something wrong?
Fixed in todays update!
I'm having some issues with the format function:
If I try this:
<div class="px-1">{{ entry.eventDate.formatted("F d, Y", "-"|t) }}</div>
this happens:If I try this:
<div class="px-1">{{ entry.eventDate.formatted({ date: 'F d, Y', time: ''}, '-'|t) }}</div>
this happens:Am I doing something wrong?