I want to include the Day of the week in the news system, not just only the Date.
Can someone tell me how I could do that?
Thanks in advance,
David
I want to include the Day of the week in the news system, not just only the Date.
Can someone tell me how I could do that?
Thanks in advance,
David
In the frontend rendering, when rendering the selected date?
If yes, most likely the date
viewhelper is used, and you can adjust the format used
In Ext:news 11.4.1 I found a date formating in the partial List/Item.html with this code:
<f:format.date format="{f:translate(key:'dateFormat')}">{newsItem.datetime}</f:format.date>
this shows that the formatting pattern is stored in the language files.
so you can override it with overriding that value like this:
plugin.tx_news {
_LOCAL_LANG {
de {
dateFormat = %a %d.%m.%Y
}
}
}
or replace the partial with your own individual constant format string.
:
<f:format.date format="%a %d.%m.%Y">{newsItem.datetime}</f:format.date>
: