Page 1 of 1

[solved] Problem with localized date format

Posted: Thu Jun 24, 2010 2:31 pm
by palun
I am trying to make a localized date format (for displaying in News), either like "10 maj" or like "10/5" (Swedish).

I do that by setting strftime (in global settings) to "%e %b" or "%e/%m", respectively.

- Instead of "10 maj" I get "10 May", in spite of the language being set to Swedish (in glogal settings).

- Instead of "10/5" I get "10/05". (Has to do with strftime, right? Always returning two digits. - Any simple workaround?)

Anyone knows what i am doing wrong? (I am using cmsms 1.7.1)

Many thanks!
/ulf

PS. I first posted this in the Swedish forum but realized it's not very active...

Re: Problem with localized date format

Posted: Thu Jun 24, 2010 2:36 pm
by calguy1000
Locale settings like this have to be enabled by your host....
if you're using a US webhost for example, to try to display swedish pages they probably don't have the swedish locales installed on their server.

Nothing CMSMS can do about it.

Re: [solved] Problem with localized date format

Posted: Thu Jun 24, 2010 11:12 pm
by palun
I am using XAMPP locally. Should have known. Sorry.
Many thanks!
/ulf