Re: MODIFIED date off by one

"Chuck Phillips (Console, Inc.)" <[email protected]>
Newsgroups gmane.comp.web.htdig.general
Message-ID <[email protected]>
It worked perfectly.

Thanks Steve!

On Jun 10, 2005, at 2:30 PM, Steve Eidemiller wrote:

> Hi Chuck,
>
> We had the same problem. In our case, we were using local dates/ 
> times for meta data fields, and htdig was parsing them as being in  
> the UTC time zone. We are GMT-6, so everything got 6 hours  
> subtracted from it by htdig, sometimes decrementing the date too.  
> Your example below doesn't have a time value, so my guess is that  
> htdig would assume midnight UTC, subtract several hours from that  
> to convert to your local time zone, and decrement the date  
> accordingly on almost every page. Search results would then be  
> displayed in your local time zone. You could test that theory by  
> finding a document having a date on the 1st of a month and see if  
> it gets reported as having a date on the last day of the previous  
> month. Our solution was to convert our meta dates to UTC. We could  
> do that easily because all of our meta tags are dynamically  
> generated by a server side include.
>
> Hopefully that helps :)
>
> Thanx
> Steve
>
>
>>>> "Chuck Phillips (Console, Inc.)" <[email protected]>  
>>>> 06/10/05 1:27 PM >>>
>>>>
> We're experiencing strangeness with setting the use_doc_date config
> to true. Every single page indexed displays the meta date minus 1 day.
>
> For example:
>
> Our config file contains:
> use_doc_date: true
>
>
> Here is an example meta Date tag embedded in a page being indexed:
>
> <META NAME="Date" CONTENT="2005-01-21">
>
>
> Yet the search results for this page shows a date of:
>
> 01/20/05
>
>
> The issue is consistent. Every search result is displaying the day
> before the Meta Date of the actual page.
>
> Thank you in advance,
> Chuck
>
> __________________________________
>
> Confidentiality Statement:
> This email/fax, including attachments, may include confidential and/ 
> or proprietary information and may be used only by the person or  
> entity to which it is addressed. If the reader of this email/fax is  
> not the intended recipient or his or her agent, the reader is  
> hereby notified that any dissemination, distribution or copying of  
> this email/fax is prohibited. If you have received this email/fax  
> in error, please notify the sender by replying to this message and  
> deleting this email or destroying this facsimile immediately.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.  How far can  
> you shotput
> a projector? How fast can you ride your desk chair down the office  
> luge track?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> ht://Dig general mailing list: <[email protected]>
> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
> List information (subscribe/unsubscribe, etc.)
> https://lists.sourceforge.net/lists/listinfo/htdig-general
>
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.