Page 1 of 1

problem with date output

Posted: Sun Nov 08, 2009 11:26 am
by sirrs.de
Hello!

I want s9y to display german days and months.
I selected "german" in the general properties, left "utf-8" unchanged, because changing to "national" corrupts the special characters.
So I end up with "october" (instead of "oKtober"), "friday" instead of "Freitag"

I'm completely clueless what to change to get this right...

Re: problem with date output

Posted: Mon Nov 09, 2009 9:29 am
by garvinhicking
Hi!

Your server needs to support the german locales, i.e. "de_DE.UTF-8". You might need to contact your server provider to ask them to install the german locales so that those names can be used.

Regards,
Garvin

Re: problem with date output

Posted: Mon Nov 09, 2009 11:23 am
by sirrs.de
Thank you very much.

hosted locales are:

en_US.UTF-8
en_US.utf-8
en_US.UTF8
en_US.utf8

Answers some questions ;)

Rock on!

Re: problem with date output

Posted: Wed Nov 18, 2009 3:12 pm
by sirrs.de
So, locales not installed yet - next problem:

I am searching for the right formatting of day/month/year in the appropiate fields (serendipity_date; serendipity_recententries), the right file to change respectively.
My guess is, it's somewhere hidden inside the "index.php" and I have some clues, but no evidence.
The date in the heading line is now ok: "name of day/day/month/year".
But the recent entries in the sidebar remain "name o. d./ month/ day / year".

#2 I want to reduce the output to xx.yy.zz ( instead of n.o.d., xx.yy.zzzz), but how? *g*

I know something about HTML & stuff - but php is a blank spot on my mental map...

Thanks in advance,
Lasse Wittfoth

Re: problem with date output

Posted: Wed Nov 18, 2009 3:58 pm
by garvinhicking
Hi!

The date format of the sidebar plugin is configured in the plugin itself. You can check the available modifieres on www.php.net/date.

Regards,
Garvin