Score:0

Filter date/time from date-range picker

ar flag

I have a content type with a Date-range field; the default output in the view gives me, for example, Saturday, June 4, 2022 - 16:30 - Saturday, June 4, 2022 - 19:00.

What I would like to show is Saturday, June 4, 2022, 4.30-7.00pm.

I figured out that, in View > Fields I should rewrite results and add a standard Twig filter like {{ field_event_date_time|date('M d, Y') }}, but I get no output from this.

Does anyone know a way to achieve this?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.