v.0.6.11-CVS Quickjump

Found a bug? Tell us!!
Post Reply
gwr02
Regular
Posts: 8
Joined: Thu Jul 22, 2004 6:50 pm
Contact:

v.0.6.11-CVS Quickjump

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

Re: v.0.6.11-CVS Quickjump

Post 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.
# 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/
gwr02
Regular
Posts: 8
Joined: Thu Jul 22, 2004 6:50 pm
Contact:

Re: v.0.6.11-CVS Quickjump

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

Re: v.0.6.11-CVS Quickjump

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