date format not quite right
| From: | Hoffman, Geoffrey | Date: | Wed, 15 Jan 2003 20:11:34 +0000 |
| Subject: | date format not quite right | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7205@lists.php.net to get a copy of this message | ||
Smarty version 2.3.1 (Windows 2k, Apache)
On index.tpl I have
{$smarty.now|date_format:"%A, %B %e, %Y"}
and the output is
Wednesday, January , 2003
{$smarty.now|date_format:"%A, %B %d, %Y"}
outputs
Wednesday, January 15, 2003
I'd like no leading zero on single-digit days. Am I missing something?
Geoff