Review main Merged

74027[FEATURE] Introduce TCA type "datetime"

Oli Bartsch CR +2 V +2 Expert +984 −577 updated 03/30/22, 08:50

Commit message

In our process of using dedicated TCA types,
the new TCA type "date" is introduced and
replaces "renderType=inputDateTime" of TCA
type "input".

Notable changes to the previous behaviour:

- the "format" option, which was already documented
  but never used in FormEngine, is now mandatory
- TCA option "max" is no longer evaluated
- The only allowed eval's are "null" and "int"

The corresponding FormEngine element class is
renamed from InputDateTimeElement to DatetimeElement.
This is covered in the ClassAliasMap.

Note: The "eval=int" seems to be superfluous since
the field value should always be stored as int in
case no native type ("dbType") is used. However,
this would be breaking and is therefore done in
a separate followup patch. This has already been
kickstarted in https://review.typo3.org/c/Packages/TYPO3.CMS/+/74027/12.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 55

Show 35 more files