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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 23:01:32 2024 UTC