Re: German date in date_format
| From: | Andrei Zmievski | Date: | Mon, 16 Jul 2001 15:20:49 +0000 |
| Subject: | Re: German date in date_format | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1169@lists.php.net to get a copy of this message | ||
On Mon, 16 Jul 2001, Andreas Heck wrote:
> Hi,
>
> I use smarty's built in date_format function to show the name of the
> month and weekday.
> But all names are English. Is there a way to show the month and weekday
> names in German
> while still using date_format? I don't want to handle the date formating
> in my script.
Set your locale properly with set_locale() function and it should work.
-Andrei
If you find a job that you love, you'll
never work another day in your life.
- Mark Jackson