On 18/01/2002 at 9:24 PM, [EMAIL PROTECTED] wrote:
> Hi all
> Im trying to get setlocale to work on my OSX box
>
> <?php
> print (strftime ("%A in Danish is "));
> setlocale ("LC_ALL", "da");
> print (strftime ("%A.\n"));
> ?>
>
> this should give me "Friday in Danish is Fredag" but no matter
> what I set the languagecode to it always returns "Friday"
>
> Why?
I don't know, but I thought that I'd quickly try it out on my machine,
and I found the same problem.
Cheers,
Ben
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ben Richardson [EMAIL PROTECTED]
Any attempt to brew coffee with a teapot should result
in the error code "418 I'm a teapot". The resulting
entity body MAY be short and stout.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]