lib/smarty/plugins/modifier.date_format.php
I added the following two lines at the top of the function smarty_modifier_date_format:
- Code: Select all
$locale = Locale::getLocale().'.UTF-8';
setlocale(LC_ALL, $locale);
Warning: The suffix that I added to the locale: .UTF-8 won't work on all servers. If it doesn't work, then you will need to look at the locales installed on your server and see exactly what they were called. I found the locales on my server in /usr/share/locale.
