Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 01:49 pm EST

Geeklog Forums

Time and date again


Status: offline

Rick78

Forum User
Regular Poster
Registered: 10/20/03
Posts: 98
Hi Again,

When I installed my new server and moved my Geeklog sites over from the existing server, the time and date at the top of the site will not change to the locale language.
I had this problem before, and I cannot figure out how I made it change.
The server running Suse 9.1 was installed in Danish and if I type date in a shell I get: søn feb 27 00:27:19 CET 2005 Which is danish.
Why is it always English in Geeklog?

I tried to set the default locale to danish and tried to leave it blank. It doesn't change anything.

By the way, the old server is running the same Suse 9.1.

Thanks for the help.

Regards,
Rick

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Setting the locale for Denmark, which appears to be 'da_DK', should at least give you Danish day and month names. To get rid of the am/pm, you'll also have to edit some of the other strings in config.php. See the documentation.

bye, Dirk
 Quote

Status: offline

Rick78

Forum User
Regular Poster
Registered: 10/20/03
Posts: 98
Perfect!

I do not see anywhere in the documentation that 'da_DK' should be used. On my other server it is 'da' and it was in Danish.

Where did you find this 'da_DK' mentioned?

Thanks
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I've bookmarked this page, although searching Google for "locate denmark" or "danish locale" should have brought up the answer as well.

bye, Dirk
 Quote

All times are EST. The time is now 01:49 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content