Datetime and Dates format
-
Hi Jeroen,
I noticed that you had included a date format. I tried to implement it on our site (moview.nl), where until now I’ve adjusted the date format of WordPress itself to ‘D d M’ to only show day and month for event dates. This causes all dates to be shown like that, which is not always handy.
Thus I changed the {{date}}{{time}} for events to {{datetime|date(D d M)}} (On which I found out the quotes aren’t necessary, they showed up on the rendered page), and it worked fine. But then I saw that the upcoming productions showed full dates, including year, like 2 februari 2017 t/m 4 maart 2017. I tried to adjust the field {{dates}} likewise, but this didn’t work. Logical, since this wasn’t mentioned in the shortcode list.
So I changed the General WordPress date to (D d M) again so the site looks as it was before. Is it possible to apply the format adjustment to dates also?Greets, Epco
- The topic ‘Datetime and Dates format’ is closed to new replies.