Issue Bug Closed

#1065951970-01-01 in tt_content.date field after translation with date field disabled for editors

Benjamin Franzke 04/22/25, 09:16 updated 12/02/25, 14:21

Description

using the following tsconfig

TCEFORM {
  tt_content {
    date.disabled = 1
  }
}

And a timezone with an offset:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['phpTimeZone'] = 'Europe/Berlin';

and by translating an empty content element (with tt_content.date=0) leads to have the field date filled with -3600 in database.

Discovered by @just2b

Reviews 1

History 46

  1. Benjamin Franzke commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-04-22T14:50:07+00:00" > 04/22/25, 14:50 </span>

    Applied in changeset commit:f1a9edce0146a495627111f07007d6ee8633fcd5.