Trying to get rid of extra dot in date

Having trouble installing serendipity?
Post Reply
wxman
Regular
Posts: 19
Joined: Tue Nov 22, 2005 7:05 pm

Trying to get rid of extra dot in date

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Trying to get rid of extra dot in date

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
wxman
Regular
Posts: 19
Joined: Tue Nov 22, 2005 7:05 pm

Re: Trying to get rid of extra dot in date

Post 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.
Post Reply