cvs: phpdoc /en/reference/datetime/functions date.xml
| From: | Joey Smith | Date: | Mon, 12 Jan 2009 07:02:19 +0000 |
| Subject: | cvs: phpdoc /en/reference/datetime/functions date.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3013@lists.php.net to get a copy of this message | ||
joey Mon Jan 12 07:02:19 2009 UTC
Modified files:
/phpdoc/en/reference/datetime/functions date.xml
Log:
Make the comments and the code match each other a bit more closely
Pointed out by daleharvey!daleharv@li3-65.members.linode.com in ##PHP@Freenode
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/datetime/functions/date.xml?r1=1.43&r2=1.44&diff_format=u
Index: phpdoc/en/reference/datetime/functions/date.xml
diff -u phpdoc/en/reference/datetime/functions/date.xml:1.43
phpdoc/en/reference/datetime/functions/date.xml:1.44
--- phpdoc/en/reference/datetime/functions/date.xml:1.43 Wed Aug 27 18:08:10 2008
+++ phpdoc/en/reference/datetime/functions/date.xml Mon Jan 12 07:02:19 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.43 $ -->
+<!-- $Revision: 1.44 $ -->
<refentry xml:id="function.date" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>date</refname>
@@ -445,11 +445,11 @@
$today = date("m.d.y"); // 03.10.01
$today = date("j, n, Y"); // 10, 3, 2001
$today = date("Ymd"); // 20010310
-$today = date('h-i-s, j-m-y, it is w Day z '); // 05-16-17, 10-03-01, 1631 1618 6
Fripm01
+$today = date('h-i-s, j-m-y, it is w Day'); // 05-16-16, 10-03-01, 1631 1616 6
Fripm01
$today = date('\i\t \i\s \t\h\e jS \d\a\y.'); // It is the 10th day.
-$today = date("D M j G:i:s T Y"); // Sat Mar 10 15:16:08 MST 2001
-$today = date('H:m:s \m \i\s\ \m\o\n\t\h'); // 17:03:17 m is month
-$today = date("H:i:s"); // 17:16:17
+$today = date("D M j G:i:s T Y"); // Sat Mar 10 17:16:18 MST 2001
+$today = date('H:m:s \m \i\s\ \m\o\n\t\h'); // 17:16:18 m is month
+$today = date("H:i:s"); // 17:16:18
?>
]]>
</programlisting>