php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #39818 "any English textual datetime description" is ambigious
Submitted: 2006-12-13 15:19 UTC Modified: 2007-08-17 11:22 UTC
From: ian at ithomas dot name Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: All
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: ian at ithomas dot name
New email:
PHP Version: OS:

 

 [2006-12-13 15:19 UTC] ian at ithomas dot name
Description:
------------
The one line summary of strtotime is "Parse about any English textual datetime description into a Unix timestamp".

This should be clarified to "Parse about any US English textual datetime description into a Unix timestamp" (addition of US).


If you're American and reading this, please don't think it is not important just because it works fine for you. Imagine if it worked the other way round, and strtotime('2/4/2006') output 2nd April, and your IDE was telling you that this function parsed English dates (meaning dates used in England)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-17 11:22 UTC] vrana@php.net
Summary is simplified, function description is correct.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 11:01:34 2025 UTC