diff --git a/docs/designers.sgml b/docs/designers.sgml index 9f6039b2..d33170a2 100644 --- a/docs/designers.sgml +++ b/docs/designers.sgml @@ -501,18 +501,15 @@ Dealers Will Hear Car Talk at Noon. date_format -{$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 +14:33:00 date_format conversion specifiers