|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-29 00:16 UTC] no dot email at nowhere dot com dot invalid
[2004-06-29 08:58 UTC] derick@php.net
[2004-06-29 09:02 UTC] foxyshadis1 at dslextreme dot com
[2004-07-06 15:42 UTC] sniper@php.net
[2004-07-06 15:42 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 23:00:02 2025 UTC |
Description: ------------ strtotime is attempting and failing to read dates in a "month year" format. Both long and short months are affected. It is then returning wildly wrong timestamps. Since the date cannot be correctly parsed, it should return -1, or be modified to correctly parse it. Reproduce code: --------------- echo date("j M Y",strtotime("May 2001")); Expected result: ---------------- 1 May 2001 or 1 January 1969 Actual result: -------------- 22 Oct 2009