nlopess Sat Feb 3 22:35:18 2007 UTC
Modified files: /phpdoc/en/reference/datetime/functions strtotime.xml Log: escape literal chars in date functions (user note) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/strtotime.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc/en/reference/datetime/functions/strtotime.xml diff -u phpdoc/en/reference/datetime/functions/strtotime.xml:1.19 phpdoc/en/reference/datetime/functions/strtotime.xml:1.20 --- phpdoc/en/reference/datetime/functions/strtotime.xml:1.19 Fri Sep 8 09:04:09 2006 +++ phpdoc/en/reference/datetime/functions/strtotime.xml Sat Feb 3 22:35:18 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> +<!-- $Revision: 1.20 $ --> <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.8 --> <refentry id="function.strtotime"> <refnamediv> @@ -136,7 +136,7 @@ if (($timestamp = strtotime($str)) === false) { echo "The string ($str) is bogus"; } else { - echo "$str == " . date('l dS of F Y h:i:s A', $timestamp); + echo "$str == " . date('l dS \o\f F Y h:i:s A', $timestamp); } ?> ]]>