[BUGFIX] Convert date objects to string in SaveToDatabase finisher 90/57490/2
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Tue, 12 Jun 2018 16:57:56 +0000 (18:57 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 6 Jul 2018 17:58:59 +0000 (19:58 +0200)
commitab410c57fb3d501e320e14785d82b66ba841dedb
treea53e0edb719f719e99c34dd4e3438a60f144a455
parent770b3a564ba87b3d13f640078398b5221516f39a
[BUGFIX] Convert date objects to string in SaveToDatabase finisher

The SaveToDatabase now converts DateTime(Immutable) objects to strings
to make it possible to save values from "Date" or "DatePicker" form elements
into the database.

Resolves: #85246
Releases: master, 8.7
Change-Id: I1533252d462d08bf7b743884d4e8e5fab12f6423
Reviewed-on: https://review.typo3.org/57490
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/form/Classes/Domain/Finishers/SaveToDatabaseFinisher.php
typo3/sysext/form/Documentation/ApiReference/Index.rst
typo3/sysext/form/Documentation/Config/proto/finishersDefinition/finishers/SaveToDatabase.rst
typo3/sysext/form/Tests/Unit/Domain/Finishers/SaveToDatabaseFinisherTest.php