Bug #74498
closedPHP setlocale() should be called in \TYPO3\CMS\Lang\LanguageService::init()
0%
Description
PHP setlocale() should be called in \TYPO3\CMS\Lang\LanguageService::init()
Of course with proper checking of the available system locales.
This will make it possible to call strftime and have date, time and numbers formatted according to the preferred locale.
We will need a mapping in the \TYPO3\CMS\Core\Localization\Locales object to map the $GLOBALS['BE_USER']->uc['lang'] field to a supported locale code.
Updated by Gerrit Code Review over 8 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47158
Updated by Gerrit Code Review over 8 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47158
Updated by Michiel Roos over 8 years ago
- Choose a different language in your user settings;
- Set TS setup: module.tx_belog.settings.dateFormat = %e %B %Y
- Look at the dates in the System Log module
- OR
- Set $TYPO3_CONF_VARS['SYS']['ddmmyy'] = '%e %B %Y';
- Set $TYPO3_CONF_VARS['SYS']['hhmm'] = '%H:%M';
- Look at the Backend Users module
Please be aware that date formatting is not handled by the fluid
viewhelper all over the backend. So testing this will make the tstamp
formatting in list mode look weird.
Updated by Susanne Moog over 5 years ago
- Status changed from Under Review to Needs Feedback
Review has been abandoned. Can you check if the issue still needs fixing?
Updated by Benni Mack about 5 years ago
- Status changed from Needs Feedback to Rejected
No feedback for 90 days. Will close this issue now - feel free to ping me @michiel if you feel this should be addressed further.