Issue Bug Closed

#82491FluidStyledContent Header/Date.html Partial should respect config.locale_all typoscript setting for date format frontend output

Marti McFlight 09/15/17, 15:24 updated 04/21/20, 12:16

Description

The partial for rendering the header date in fluid_styled_content (Resources/Private/Partials/Header/Date.html) currently does not respect the typoscript setting of config.locale_all. The partial is:

<f:if condition="{date}"><br> <p class="{positionClass}"><br> <time datetime="{date -> f:format.date(format: ‘%Y-%m-%d’)}”><br /> <f:format.date format=">{date}<br> </time><br> </p><br></f:if>

Instead of “%B %e, %Y” there should be the setting depending on config.locale_all.

So, at the moment it is necessary to override the header partials only to localize the date.

Reviews 1