<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Pear::Date Returned Timezone is Wrong</title>
	<atom:link href="http://www.adamsdesk.com/be/archives/2008/10/14/peardate-returned-timezone-is-wrong/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adamsdesk.com/be/archives/2008/10/14/peardate-returned-timezone-is-wrong/</link>
	<description>The life experiences of Adam Douglas. Technical help too!</description>
	<lastBuildDate>Sat, 10 Jul 2010 21:38:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Thomas</title>
		<link>http://www.adamsdesk.com/be/archives/2008/10/14/peardate-returned-timezone-is-wrong/comment-page-1/#comment-23183</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Mon, 20 Oct 2008 18:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.adamsdesk.com/be/archives/2008/10/14/peardate-returned-timezone-is-wrong/#comment-23183</guid>
		<description>Your code gives me the correct result, but it also sets the default time zone to UTC, like you wrote. The problem lies in the function inDaylightTime (Date/TimeZone.php:301). It works (and has been completely rewritten) in 1.5.0a1, but that has been in alpha for 7 months.

To fix it in 1.4.7 you just have to comment out lines 310 and 312. This makes it reset the time zone environmental variable to blank if it was blank to begin with, which seems to me like a good thing. I don&#039;t see any reasons for the if statement, and I&#039;m pretty sure that it can&#039;t have any side effects to remove it.</description>
		<content:encoded><![CDATA[<p>Your code gives me the correct result, but it also sets the default time zone to UTC, like you wrote. The problem lies in the function inDaylightTime (Date/TimeZone.php:301). It works (and has been completely rewritten) in 1.5.0a1, but that has been in alpha for 7 months.</p>
<p>To fix it in 1.4.7 you just have to comment out lines 310 and 312. This makes it reset the time zone environmental variable to blank if it was blank to begin with, which seems to me like a good thing. I don&#8217;t see any reasons for the if statement, and I&#8217;m pretty sure that it can&#8217;t have any side effects to remove it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
