Page 1 of 1

Trying to get rid of extra dot in date

Posted: Sat Oct 06, 2007 5:42 pm
by wxman
It's driving me crazy, but one of my blogs has an extra period between the date and the year. I thought I knew where to find it in the code, but I can't seem to find it.

Any idea where I could find my extra dot?

Re: Trying to get rid of extra dot in date

Posted: Sat Oct 06, 2007 6:27 pm
by garvinhicking
Hi!

This can be either a part of your language file, or of the template you're using.

Check your entries.tpl template file and see what it uses at the place where "formatTime" is called. You can look up that constant used there in your "lang_XX.inc.php" file of the serendipity "lang" (and "lang/UTF-8/") subdirectory.

Depending on your template, it might even offer you a template configuration item on how to format the date.

Regards,
Garvin

Re: Trying to get rid of extra dot in date

Posted: Sun Oct 07, 2007 2:49 pm
by wxman
garvinhicking wrote: Check your entries.tpl template file and see what it uses at the place where "formatTime" is called. You can look up that constant used there in your "lang_XX.inc.php" file of the serendipity "lang" (and "lang/UTF-8/") subdirectory.
Thanks Garvin. It was the variable in the lang_en_inc.php file.