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...
[solved] Problem with localized date format
[solved] Problem with localized date format
Last edited by palun on Thu Jun 24, 2010 11:10 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Problem with localized date format
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.
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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: [solved] Problem with localized date format
I am using XAMPP locally. Should have known. Sorry.
Many thanks!
/ulf
Many thanks!
/ulf