I believe that I have come across a bug in the startday code in version
3.1.6 (I have applied the metadate.0 patch and the timet_enddate.1 patch).
Briefly, using a negative number in the startday that overlaps a year
boundary (i.e. using a number greater than -7 today, 1/7/03) causes only
entries for the previous year to be displayed. Here is an example:
Here are the MATCHES and date entries for the same search:
Using a relative startday;
<input type="hidden" name="matches" value="12">
<input type="hidden" name="startday" value="-14">
<input type="hidden" name="startmonth" value="">
<input type="hidden" name="startyear" value="">
<input type="hidden" name="endday" value="">
<input type="hidden" name="endmonth" value="">
<input type="hidden" name="endyear" value="">
Using a specific startday,month,year,etc.
<input type="hidden" name="matches" value="25">
<input type="hidden" name="startday" value="23">
<input type="hidden" name="startmonth" value="12">
<input type="hidden" name="startyear" value="2002">
<input type="hidden" name="endday" value="7">
<input type="hidden" name="endmonth" value="1">
<input type="hidden" name="endyear" value="2003">
The dates are obtained using a META tag entry in the HTML header.
Anyone else seeing this?
Bill Knox
Senior Operating Systems Programmer/Analyst
The MITRE Corporation
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html