Skip to content
Commit 41b350dc authored by Daniel Maier's avatar Daniel Maier Committed by Christian Kuhn
Browse files

[BUGFIX] Fix date conversion of neg timestamps

Date conversion of TCA fields with eval "date" or "datetime" is now also
handled correctly for dates before 1970, thus having a negative
timestamp. Timezone offset is now also applied for those negative
timestamps, in order to prevent erroneous data for dates before 1970.

Furthermore validation handling for dates with zero timestamp
(01.01.1970 midnight UTC) is fixed.

Resolves: #73871
Releases: master, 7.6
Change-Id: Iffa2f12c6941fe17b956202fe9c49f811b1b0539
Reviewed-on: https://review.typo3.org/47025


Reviewed-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
Tested-by: default avatarAndreas Wolf <andreas.wolf@typo3.org>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent a786e4fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment