Bug #63945
closedDate-Validation in forms fails on Windows systems due to missing strptime()
100%
Description
The function strptime() is not implemented on Windows platforms: http://php.net/manual/en/function.strptime.php
It is used in TYPO3\CMS\Form\Validation\DateValidator to validate a given date against a configurable formatting string.
There are several formatting strings available on Linux (depending on the C library): http://php.net/manual/en/function.strftime.php
In Windows there are fewer available: http://msdn.microsoft.com/en-us/library/fe06s4ak.aspx
In order to overcome this limitation there could either be a sysext/core/Classes/Utility/DateUtility.php strptime()-calls or a changed validation routine in TYPO3\CMS\Form\Validation\DateValidator::isValid() which does not use strptime() anymore.
Updated by Gerrit Code Review almost 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35530
Updated by Gerrit Code Review almost 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35530
Updated by Gerrit Code Review almost 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35530
Updated by Gerrit Code Review almost 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35530
Updated by Gerrit Code Review almost 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36125
Updated by Stephan Großberndt almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 200815407ae97bc1de3a867517d2c95c77766b68.