Review main Merged

66670[BUGFIX] Set timezone on TCA dbType input

Imko Schumacher CR +2 V +2 Normal +73 −2 updated 12/21/20, 12:43

Commit message

The value from columns that are marked as "dbType" date(time) fields
in TCA configuration are now explicitly interpreted using UTC timezone,
when the string value has no timezone specifier given.
JS supplied values contain Z as specifier, while records from the database
(which are processed during copy operations) do not contain a timezone
specifier.
Local time was assumed by PHP in the latter case before, as we did not
pass an explicit timezone information to the DateTime constructor.

Therefore we now assure no timezone conversion will happen and no
time/date-offset will be added, by using UTC explicitly.

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 2