Skip to content

Commit

Permalink
[BUGFIX] Retain datetime and labels for tt_content crdate and tstamp …
Browse files Browse the repository at this point in the history
…fields (#2608)

solves #2607
  • Loading branch information
ulrichmathes authored Jan 24, 2025
1 parent 0f969a3 commit 5ffc566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configuration/TCA/Overrides/tt_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
foreach (['crdate', 'tstamp'] as $fakeField) {
if (!isset($GLOBALS['TCA']['tt_content']['columns'][$fakeField])) {
$GLOBALS['TCA']['tt_content']['columns'][$fakeField] = [
'label' => $fakeField,
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.' . $fakeField,
'config' => [
'type' => 'passthrough',
'type' => 'datetime',
],
];
}
Expand Down

0 comments on commit 5ffc566

Please sign in to comment.