Review 12.4 Merged

79812[BUGFIX] Allow 1970-01-01 as native datetime input

Benni Mack CR +2 V +2 Normal +138 −17 updated 07/06/23, 11:44

Commit message

The TCA processing temporary converts native datetime inputs to
timestamps for some checks.
The start of the unix epoch (1970-01-01 00:00) corresponds to the
0 timestamp. Conditionally checks interpreted that as false,
resulting the value to be the default value.
This fix also prevents empty date values from being set to
MySQL-specific values (0000-00-00 00:00:00).

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 4

Review log 34

  1. Benni Mack commented on patch set 1 07/06/23, 11:28

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 07/06/23, 11:40 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/43704

  3. Benni Mack voted on patch set 1 V +2 CR +2 07/06/23, 11:44

  4. Benni Mack merged patch set 2 07/06/23, 11:44