Re: [SMARTY] date format not quite right
| From: | Desiree Rivera | Date: | Wed, 15 Jan 2003 20:47:16 +0000 |
| Subject: | Re: [SMARTY] date format not quite right | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7206@lists.php.net to get a copy of this message | ||
I'm having the same problem. Is this a bug? I looked through the docs and email archives without luck. Any ideas?
At 01:11 PM 1/15/2003 -0700, Hoffman, Geoffrey wrote:
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 -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php