[BUGFIX] Allow range options to work for date/time fields 20/56020/7
authorJigal van Hemert <jigal.van.hemert@typo3.org>
Tue, 6 Mar 2018 10:22:35 +0000 (11:22 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Thu, 8 Mar 2018 14:08:40 +0000 (15:08 +0100)
commit834f936808659053650574a51a398b6efb0c0e18
tree93defabdc609cf56e41e4892d50251d70789068d
parente0037bef94134deea55f44469530b3eb2a652bc8
[BUGFIX] Allow range options to work for date/time fields

Date and time fields can contain ISO-8601 values. To apply lower and
upper limits the value must first be converted to a UNIX timestamp.

Resolves: #83240
Releases: master, 8.7
Change-Id: Ic15e9486cf7a4bcdf557c8a197d957ad88302b61
Reviewed-on: https://review.typo3.org/56020
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/backend/Classes/Form/Element/InputDateTimeElement.php
typo3/sysext/core/Classes/DataHandling/DataHandler.php
typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php