minor doc update

This commit is contained in:
mohrt
2002-07-08 14:59:02 +00:00
parent 997990a744
commit 67dc2f4bab

View File

@@ -501,18 +501,15 @@ Dealers Will Hear Car Talk at Noon.
<example> <example>
<title>date_format</title> <title>date_format</title>
<programlisting> <programlisting>
{$currentDate} {$smarty.now|date_format}
{$currentDate|date_format:"%A, %B %e, %Y"} {$smarty.now|date_format:"%A, %B %e, %Y"}
{$currentDate|date_format:"%H:%M:%S"} {$smarty.now|date_format:"%H:%M:%S"}
{* format current time if $currentDate is empty *}
{$currentDate|date_format:"%H:%M:%S":"now"}
OUTPUT: OUTPUT:
Feb 6, 2001 Feb 6, 2001
Tuesday, February 6, 2001 Tuesday, February 6, 2001
14:33:00 14:33:00</programlisting>
22:23:12</programlisting>
</example> </example>
<example> <example>
<title>date_format conversion specifiers</title> <title>date_format conversion specifiers</title>