php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34033 strtotime doesn't parse "Sept."
Submitted: 2005-08-08 08:37 UTC Modified: 2005-08-08 08:58 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: evanchaney at mac dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 5.0.4 OS: Mac OS X 10.4.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: evanchaney at mac dot com
New email:
PHP Version: OS:

 

 [2005-08-08 08:37 UTC] evanchaney at mac dot com
Description:
------------
The strtotime() function understands the month of September 
when it is written "Sep.", "Sep" or "Sept", but not "Sept.".

Other months like October can be written with a period after 
the month's abbreviation and parse just fine.

Reproduce code:
---------------
echo(strtotime('24 Sept. 72'));

Expected result:
----------------
86166000

Actual result:
--------------
-1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-08 08:58 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Jul 04 20:01:35 2025 UTC