cvs: smarty /docs designers.sgml

From: Date: Mon, 08 Jul 2002 14:59:02 +0000
Subject: cvs: smarty /docs designers.sgml
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-179@lists.php.net to get a copy of this message
mohrt Mon Jul 8 10:59:02 2002 EDT Modified files: /smarty/docs designers.sgml Log: minor doc update Index: smarty/docs/designers.sgml diff -u smarty/docs/designers.sgml:1.36 smarty/docs/designers.sgml:1.37 --- smarty/docs/designers.sgml:1.36 Wed Jul 3 16:08:33 2002 +++ smarty/docs/designers.sgml Mon Jul 8 10:59:02 2002 @@ -501,18 +501,15 @@ <example> <title>date_format</title> <programlisting> -{$currentDate} -{$currentDate|date_format:"%A, %B %e, %Y"} -{$currentDate|date_format:"%H:%M:%S"} -{* format current time if $currentDate is empty *} -{$currentDate|date_format:"%H:%M:%S":"now"} +{$smarty.now|date_format} +{$smarty.now|date_format:"%A, %B %e, %Y"} +{$smarty.now|date_format:"%H:%M:%S"} OUTPUT: Feb 6, 2001 Tuesday, February 6, 2001 -14:33:00 -22:23:12</programlisting> +14:33:00</programlisting> </example> <example> <title>date_format conversion specifiers</title>

« previous php.smarty.cvs (#179) next »