Translation of mdate() |
[eluser]Unknown[/eluser]
Hey everyone, Though this is my first post, it's not my first CI-experience. I guess that's a good thing, 'cause I never needed a lot of help with CI Anyway, i'm struggling with this. I want translated dates, but without using setlocale(). With my current project I'm running a server that doesn't support it and when I read this kind of stuff, I don't like it: Quote:http://php.net/manual/en/function.setlocale.php I've got (dutch) language-packs, but date() / mdate() don't seem to be able to use this to translate it. What's the catch?
[eluser]danmontgomery[/eluser]
You can set intl.default_locale in php.ini... But all of php's date functions are based on the current locale setting, so they don't accept any locale parameters. |
Welcome Guest, Not a member yet? Register Sign In |