Code: Select all
#
#---[ OPEN ]---------------
#
includes/class_calendar_api.php
#
#---[ FIND ]-------------
#
if ( $xdate1['y'] != $xdate2['y'] )
{
return $xdate1['y'] > $xdate2['y'] ? $xdate1 : $xdate2;
}
#
#---[ REPLACE WITH ]-----------
#
if ( $xdate1['y'] != $xdate2['y'] )
{
return $xdate1['y'] > $xdate2['y'];
}
Aahz wrote: I just installed topic calendar and on the small calendar at the top of the forum index it lists the dates in the format: "Thu Thu 18 Dec, 2003 12:00 am"
This makes the calendar so long that there's a left-right scroll.
Problem 1: Why is it displaying the day twice?
Problem 2: Why is it displaying the time?
I read elsewhere that the calendar uses the profile date format, but I changed the profile date format and it had no effect.
Also on the full calendar page it's showing the day only once as it should, but it still has the time causing the stretch once again
Thanks in advance for your help!
Ptirhiik - RPGnet-fr wrote: First, don't crosspost between sites : I will not answer to each of your post everywhere : it is a lost of time for you and for me.
Then, as already mentioned, the mod use your profile dateformat setting. I do not know nothing about the mod you are mentioning, but as long it doesn't screw this field (use_dateformat / $userdata['user_dateformat']), it isn't involved. Set your date format in your profile.
Ptirhiik - RPGnet-fr wrote: > Aahz : I gave you the exact info. Now, if you don't feel in the mood of listening and want to crosspost everywhere, well, the more you'll post, the less you will get support, at least from me. But well, who am I to pretend to know how this mod works ? Oh yes, the author, wups ,