ID:               33105
 Updated by:       [EMAIL PROTECTED]
 Reported By:      neothermic at neothermic dot com
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Irrelevent
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2005-05-23 01:10:23] neothermic at neothermic dot com

Description:
------------
On the strtotime man page ( http://www.php.net/strtotime ), the
function is indicated as assuming the date is 'English date format'.
This is unclear in the sense that the function actually works in US
date format, not UK date format (which is an interperation of the word
English).

In the phpdoc channel, it was suggested that the word 'English' either
be elaborated, or outright replaced with 'US English' to avoid any
future confusion.

Reproduce code:
---------------
<?PHP 

$input = '20/04/05';

$date = strtotime($input);

echo date('r', $date);

?>

Expected result:
----------------
Wed, 20 Apr 2005 00:00:00 +0100

Actual result:
--------------
Fri, 4 Aug 2006 00:00:00 +0100


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33105&edit=1

Reply via email to