[TASK] Timestamp support for DateTimeConverter
authorClaus Due <claus@wildside.dk>
Sat, 20 Aug 2011 16:27:20 +0000 (18:27 +0200)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 26 Nov 2012 23:10:08 +0000 (00:10 +0100)
commita3e1442306ffaa8010444cc2383d01d44916b4cf
tree25a3d632bd54a65c45bc099f711da17d5da71460
parent111e16644707a12170d50c9d907ec52df5c2a4d5
[TASK] Timestamp support for DateTimeConverter

This change adds DateTimeConverter support for integer values
by using the "U" dateFormat which reads a UnixTimestamp date
format (i.e. integer as string).

Under the assumption that the new PropertyMapper is being
used, this fixes the bugs below.

At the same time backport the changes done in Flow and use the
same solution which is currently pending in Flow (#41989)

Fixes: #7574
Fixes: #8536
Fixes: #5595
Releases: 6.0

Change-Id: Id39e37451767ea732288423911109d83d47aa6e4
Reviewed-on: http://review.typo3.org/4440
Reviewed-by: Tymoteusz Motylewski
Tested-by: Tymoteusz Motylewski
typo3/sysext/extbase/Classes/Property/Mapper.php
typo3/sysext/extbase/Classes/Property/TypeConverter/DateTimeConverter.php
typo3/sysext/extbase/Tests/Unit/Property/TypeConverter/DateTimeConverterTest.php