Hi,
I have this script:
if($lang == "se"
{
setlocale(LC_ALL, 'sv_SE.ISO_8859-1'); echo '(' . ucfirst(strftime("%a) %Y-%m-%d %H:%M", $date));
} else {
setlocale(LC_ALL, ''); echo ucfirst(strftime("(%a) %Y-%m-%d %H:%M", $date));
}
which works fine when I have it on a linuxserver but when I have the same on the wampserver on windows I dont get the correct shortname for the swedish days. I get the oposite meaning I get the correct when $lang is NOT se. Is there any settings in the PHP which drives this or what?
Found solution here: [
www.zen-cart.com]
Regards/Per
Edited 3 time(s). Last edit at 05/12/2008 10:46PM by psn.