4
If you have the desired locales installed into your/your host's system,you can even force smarty to display the date in your desired language.
Add this piece of code right before smarty's date function
<{php}>setlocale(LC_TIME, "it_IT");<{/php}>
and edit it according to your needs.
An example:
<{php}>setlocale(LC_TIME, "it_IT");<{/php}>
<{$smarty.now|date_format:"%A, %e %B %Y"}>
will display:
mercoledì, 6 luglio 2005the date is formatted into italian.
Really easy!
Don't know what i want but i know how to get it..........