[BUGFIX] Fix fatal error for date validation in EXT:form on Windows 30/35530/5
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:43:52 +0000 (22:43 +0100)
commit200815407ae97bc1de3a867517d2c95c77766b68
tree05d82bd79f58e0255a1e7535b789affca76c788d
parent9f6ccce3038cd87d8d07ece2d23733a0fec65b8c
[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/35530
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/form/Classes/Validation/DateValidator.php