Hi,
I have set the last-modified date in my documents strictly in accordance with the Zoom documentation. But when I finally got things indexing, the results I am getting aren't correct.
First I specified the time as Pacific Daylight Time (the time here in San Diego). What I got back was a GMT time that was way off. For instance, in the meta tag I specified:
<meta http-equiv="Last-Modified" content="Tue, 01 May 2007 01:00:00 PDT"/>
What I got back from the search result was:
<pubDate>Mon, 30 Apr 2007 17:59:59 GMT</pubDate>
That would only make sense San Diego was somewhere in the Middle East - near Pakistan. While we aren't too good at geography in the US, I am pretty sure that San Diego is not in the Middle East. My understanding is that PDT is GMT-8. Instead it seems to be equating PDT to GMT+5 (minus one second).
To work around this, I tried:
<meta http-equiv="Last-Modified" content="Tue, 01 May 2007 01:00:00 GMT-8"/>
What I now got back was:
<pubDate>Mon, 30 Apr 2007 17:59:59 GMT</pubDate>
Same thing, GMT+5
My next attempt was simply to normalize to GMT for the sake of getting the correct day:
<meta http-equiv="Last-Modified" content="Tue, 08 May 2007 12:00:00 GMT"/>
Comes back as:
<pubDate>Tue, 08 May 2007 04:59:59 GMT</pubDate>
Shifted back 7 hours!!!!! Unfortunately, when my system converts that result to a "date" it comes back as May 7 (PDT) - a day earlier again
It is super important that these dates be correct - they are reflecting when legislation became law and being off by a day is not acceptable.
I have set the last-modified date in my documents strictly in accordance with the Zoom documentation. But when I finally got things indexing, the results I am getting aren't correct.
First I specified the time as Pacific Daylight Time (the time here in San Diego). What I got back was a GMT time that was way off. For instance, in the meta tag I specified:
<meta http-equiv="Last-Modified" content="Tue, 01 May 2007 01:00:00 PDT"/>
What I got back from the search result was:
<pubDate>Mon, 30 Apr 2007 17:59:59 GMT</pubDate>
That would only make sense San Diego was somewhere in the Middle East - near Pakistan. While we aren't too good at geography in the US, I am pretty sure that San Diego is not in the Middle East. My understanding is that PDT is GMT-8. Instead it seems to be equating PDT to GMT+5 (minus one second).
To work around this, I tried:
<meta http-equiv="Last-Modified" content="Tue, 01 May 2007 01:00:00 GMT-8"/>
What I now got back was:
<pubDate>Mon, 30 Apr 2007 17:59:59 GMT</pubDate>
Same thing, GMT+5
My next attempt was simply to normalize to GMT for the sake of getting the correct day:
<meta http-equiv="Last-Modified" content="Tue, 08 May 2007 12:00:00 GMT"/>
Comes back as:
<pubDate>Tue, 08 May 2007 04:59:59 GMT</pubDate>
Shifted back 7 hours!!!!! Unfortunately, when my system converts that result to a "date" it comes back as May 7 (PDT) - a day earlier again
It is super important that these dates be correct - they are reflecting when legislation became law and being off by a day is not acceptable.
Comment