Re: [SMARTY] date_format (or strftime) problem
| From: | Monte Ohrt | Date: | Mon, 15 Dec 2003 15:50:40 +0000 |
| Subject: | Re: [SMARTY] date_format (or strftime) problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10688@lists.php.net to get a copy of this message | ||
See the programmers note at the bottom:
http://smarty.php.net/manual/en/language.modifier.date.format.php
Monte
On Mon, 2003-12-15 at 07:49, Janos Rusiczki wrote:
> Hello,
>
> Template:
>
> {$smarty.now|date_format}
> {$smarty.now|date_format:"%A, %B %e, %Y"}
>
> Output:
>
> Dec , 2003
> Monday, December , 2003
>
> So basically "%e" isn't printed. Why? What's wrong?
> I tried with setlocale() but to no avail.
>
> -janos-