Topic: format date localisation

use of the strftime() function instead of the date() function so we could localize date format with setlocale(LC_TIME, $locale); (lang/*language*/common.php)

Re: format date localisation

You can do that in Admin Options, can't you?

Re: format date localisation

no with date() locales are not used

for exemple

setlocale(LC_TIME, 'fr_FR');
echo date('l d F Y');

return

Sunday 23 April 2006

and

setlocale(LC_TIME, 'fr_FR');
echo strftime('%A %e %B %Y');

return

samedi 23 avril 2006

locales must be installed on system

Re: format date localisation

Ah, I see, I didn't realize that date() didn't have a way to use different langauge settings