[BUGFIX] Allow range options to work for date/time fields 60/56060/2
authorJigal van Hemert <jigal.van.hemert@typo3.org>
Tue, 6 Mar 2018 10:22:35 +0000 (11:22 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Thu, 8 Mar 2018 14:20:05 +0000 (15:20 +0100)
commit0b9ef9e9cb245c735b18ec8f09842cfb31d50a60
tree15a0421a9de86c8e4bbac1acc6d2d86630048ed7
parent61c00881a5e1f6d14f48d28760c48da8fcdd5d00
[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/56060
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@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