Beta Test Timezone Offset

November 10, 2005

I've been bothered by the timezone issue of items. The version of Feed2JS running on this site only has a new parameter named tz. If not defined, Feed2JS will just echo the string it finds in an item as the published date. However, if you specify your local timezone offset from GMT, it should correctly display the date and time in your local zone. For example, here in Arizona, the offset value is 7 hours ahead of GMT, so I enter -7.

Since the date/time stamps parsed from Magpie are local to my server, I have a new variable that adjusts this time to GMT, and then makes another adjustment based on the user entered offset.

If I get some feedback on if this works well, I will roll it into the downloads and the mirrors by next week. My time.

Will there be a means offered to not have the time/day stamp display?

Posted by Tony at November 10, 2005 04:47 PM

Thanks again for looking into this issue. The time zone adjustment is working great for me and I haven't run into any issues.

Posted by Peter at November 11, 2005 02:53 PM

Tony,

That feature has always been there by selecting the "no" option for show the date. There was a little glitch a day ago when I was adjusting the code and that it may have neen ignored, but this feature now works.

Posted by Alan at November 11, 2005 03:43 PM

Write a comment










Remember personal info?





Spam Prevention Security Code: Enter the numbers you see in the image above