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)
You are not logged in. Please login or register.
PunBB Forums → Feature requests → 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)
You can do that in Admin Options, can't you?
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
Ah, I see, I didn't realize that date() didn't have a way to use different langauge settings
PunBB Forums → Feature requests → format date localisation
Powered by PunBB, supported by Informer Technologies, Inc.