[BUGFIX] Fix fatal error for date validation in EXT:form on Windows 25/36125/2
authorStephan Großberndt <stephan@grossberndt.de>
Wed, 17 Dec 2014 00:54:14 +0000 (01:54 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 19 Jan 2015 21:44:33 +0000 (22:44 +0100)
commit9ca863c5cf3cf59e33123d7cea3062aed4d2bfe1
tree185d740a70fa45386ccaf355f612e1d3281a13a7
parentee21b0843c240019408640dab58560e297351dcc
[BUGFIX] Fix fatal error for date validation in EXT:form on Windows

Use a mapping to date_create_from_format() in date validation of
EXT:form if strptime() is not available. This prevents a fatal error on
Windows because strptime() is not implemented on Windows platform.

Resolves: #63945
Releases: master, 6.2
Change-Id: I92f66597ce362cc8dae66b09ba19ed428055a6de
Reviewed-on: http://review.typo3.org/36125
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/form/Classes/Validation/DateValidator.php