Project

General

Profile

Actions

Bug #82491

closed

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

Added by Marti McFlight about 7 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Fluid Styled Content
Start date:
2017-09-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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}">
<p class="{positionClass}">
<time datetime="{date > f:format.date(format: '%Y%m-%d')}">
<f:format.date format="%B %e, %Y">{date}</f:format.date>
</time>
</p>
</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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #87935: Use $_SERVER['REQUEST_TIME'] instead of time() for the current time in viewhelper f:date.format()Closed2019-03-16

Actions
Related to TYPO3 Core - Bug #101211: GeneralUtility::formatSize does not use correct thousands separatorClosed2023-06-30

Actions
Actions

Also available in: Atom PDF