|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-06-22 21:25 UTC] derick@php.net
[2021-03-12 10:50 UTC] cmb@php.net
-Status: Open
+Status: Wont fix
-Assigned To:
+Assigned To: cmb
[2021-03-12 10:50 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jan 30 10:00:01 2026 UTC |
Description: ------------ It will be nice, that strtotime() function could parse date format with dots and spaces to. Now strtotime('22.6.2017') returns 1498082400, but typographicaly correct version strtotime('22. 6. 2017') returns false. In some languages/typographic convetions (like Czech or German) format with spaces is correct, but strtotime() not supports it. Is it possible to have also this one? Test script: --------------- <?php echo var_dump(strtotime('22.6.2017')); echo var_dump(strtotime('22. 6. 2017')); ?> Expected result: ---------------- int(1498082400) int(1498082400) Actual result: -------------- int(1498082400) bool(false)