Page 1 of 1

v.0.6.11-CVS Quickjump

Posted: Mon Aug 02, 2004 1:47 pm
by gwr02
In the May calendar May 1st shows entries when I don't have any. The calendar day is red.

Also is there a way to change the Minimum search length from 3 to 2 or something else?

I can't do a search for "May".

Re: v.0.6.11-CVS Quickjump

Posted: Mon Aug 02, 2004 2:37 pm
by garvinhicking
Whats the URL of your blog, so we can look at that date problem?

And no, the search length cannot be altered, since the 3 chars are a MySQL-limitation for fulltext matching.

Regards,
Garvin.

Re: v.0.6.11-CVS Quickjump

Posted: Tue Aug 03, 2004 12:07 am
by gwr02
garvinhicking wrote:Whats the URL of your blog, so we can look at that date problem?
It's in the message now. Sorry, I had Apache configured wrong. It should work now. But, if not, Garvin's Blog does the same thing.

Thanks again for your help.

Re: v.0.6.11-CVS Quickjump

Posted: Tue Aug 03, 2004 10:09 am
by garvinhicking
Thanks, I could reproduce and fix the bug. It was when on the first day of the next month an entry was made, that entry was counted to the first day of the current month.

If you want to manually fix your installation, just open serendipity_functions.inc.php, search for serendipity_drawCalendar( and then edit the line

Code: Select all

    $endts = mktime(23, 59, 59, $month + 1, 1, $year);
to

Code: Select all

    $endts = mktime(0, 0, 0, $month + 1, 1, $year);
Regards,
Garvin.