setlocale having no effect in PHP

Posted by J. Pablo Fernández on Stack Overflow See other posts from Stack Overflow or by J. Pablo Fernández
Published on 2010-05-04T12:34:19Z Indexed on 2010/05/16 6:00 UTC
Read the original article Hit count: 195

Filed under:
|

I have the following snippet of code:

setlocale(LC_ALL, "de");
print(strftime("%A %e %B %Y", time()));

and it's printing

Tuesday 4 May 2010

instead of

Dienstag 4. Mai 2010

Any ideas why? How to fix?

© Stack Overflow or respective owner

Related posts about php

Related posts about locale