<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Being off by hours, Wordpress timezone change impact on archived posts and comments</title>
	<link>http://www.makeyougohmm.com/20070125/4178/</link>
	<description>Technology, music, video, art, news, reviews and muse on the web</description>
	<pubDate>Sun, 07 Sep 2008 19:26:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Cheap prices, best value and everybody votes on Wii &#187; Make You Go Hmm</title>
		<link>http://www.makeyougohmm.com/20070125/4178/#comment-456584</link>
		<author>Cheap prices, best value and everybody votes on Wii &#187; Make You Go Hmm</author>
		<pubDate>Wed, 14 Mar 2007 23:22:55 +0000</pubDate>
		<guid>http://www.makeyougohmm.com/20070125/4178/#comment-456584</guid>
		<description>[...] Behind the Hmmcast I realize the post time has been messed up on this blog again. Daylight savings has bitten the version of WordPress I&#8217;m using (haven&#8217;t verified if it&#8217;s fixed in the most recent version WP version yet). While the time shows as 4:20pm, it&#8217;s actually being published at 5:20pm because of the -8 offset in the settings. Instead of using the server time and adjusting it&#8217;s using a gmtdate offset without daylight savings calculated. If I change it to the correct time, then comments made between the last time I changed and now will be off by one hour. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Behind the Hmmcast I realize the post time has been messed up on this blog again. Daylight savings has bitten the version of WordPress I&#8217;m using (haven&#8217;t verified if it&#8217;s fixed in the most recent version WP version yet). While the time shows as 4:20pm, it&#8217;s actually being published at 5:20pm because of the -8 offset in the settings. Instead of using the server time and adjusting it&#8217;s using a gmtdate offset without daylight savings calculated. If I change it to the correct time, then comments made between the last time I changed and now will be off by one hour. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chipping the web - rock lobster -- Chip&#8217;s Quips</title>
		<link>http://www.makeyougohmm.com/20070125/4178/#comment-401664</link>
		<author>Chipping the web - rock lobster -- Chip&#8217;s Quips</author>
		<pubDate>Thu, 01 Feb 2007 01:50:48 +0000</pubDate>
		<guid>http://www.makeyougohmm.com/20070125/4178/#comment-401664</guid>
		<description>[...] I love WordPress. It&#8217;s free, and it rocks. But I do wonder why they didn&#8217;t store timestamps in universal time to avoid problems like these. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] I love WordPress. It&#8217;s free, and it rocks. But I do wonder why they didn&#8217;t store timestamps in universal time to avoid problems like these. [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDavid</title>
		<link>http://www.makeyougohmm.com/20070125/4178/#comment-395899</link>
		<author>TDavid</author>
		<pubDate>Fri, 26 Jan 2007 14:50:22 +0000</pubDate>
		<guid>http://www.makeyougohmm.com/20070125/4178/#comment-395899</guid>
		<description>pkelley - being on the other side of offering freeware for years, I hear what you're saying. I wouldn't dial up one of the Wordpress &lt;i&gt;volunteer&lt;/i&gt; developers and bitch anybody out. 

With this post I'm simply trying to explore the best way to deal with what I believe is a not completely rare situation. I do have one solution in mind, but will continue to wait and see if anybody else comes along and offers a better solution.</description>
		<content:encoded><![CDATA[<p>pkelley - being on the other side of offering freeware for years, I hear what you&#8217;re saying. I wouldn&#8217;t dial up one of the Wordpress <i>volunteer</i> developers and bitch anybody out. </p>
<p>With this post I&#8217;m simply trying to explore the best way to deal with what I believe is a not completely rare situation. I do have one solution in mind, but will continue to wait and see if anybody else comes along and offers a better solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TDavid</title>
		<link>http://www.makeyougohmm.com/20070125/4178/#comment-395892</link>
		<author>TDavid</author>
		<pubDate>Fri, 26 Jan 2007 14:33:14 +0000</pubDate>
		<guid>http://www.makeyougohmm.com/20070125/4178/#comment-395892</guid>
		<description>That is a good point, engtech. Just ran a query to see how many posts fall between midnight and 3am that would be impacted by an actual date change: 204 of 4,140 (4.9%)

QUERY:
mysql&gt; select ID, post_title, post_date from POSTS where HOUR(post_date) &lt; 3;

Could change the time on these to midnight so the day does not roll back and the permalink therefore is not impacted. I notice the date_gmt is also saved. That would not break any permalink URLs that use date. This seems redundant to me. Why need both timestamps? If you already have GMT you can do a timezone offset for posts and comments (like I am talking about in the post in option #1).

Even though what you mention, engtech, would impact less than 5% of the posts, would probably be less of an issue just going with option #1 on all posts and comments made before a certain time and just rolling back the time programatically, this way not touching the data at all. I know where the timezone was changed, which is the key piece of information.

I will let this one stew for awhile and give others a chance to chime in before making a decision.

Edited 6:36am PST and 6:39am PST: Fixed the unclosed italicized text and removed a redundant sentence. Removed the post list, not really needed.</description>
		<content:encoded><![CDATA[<p>That is a good point, engtech. Just ran a query to see how many posts fall between midnight and 3am that would be impacted by an actual date change: 204 of 4,140 (4.9%)</p>
<p>QUERY:<br />
mysql> select ID, post_title, post_date from POSTS where HOUR(post_date) < 3;</p>
<p>Could change the time on these to midnight so the day does not roll back and the permalink therefore is not impacted. I notice the date_gmt is also saved. That would not break any permalink URLs that use date. This seems redundant to me. Why need both timestamps? If you already have GMT you can do a timezone offset for posts and comments (like I am talking about in the post in option #1).</p>
<p>Even though what you mention, engtech, would impact less than 5% of the posts, would probably be less of an issue just going with option #1 on all posts and comments made before a certain time and just rolling back the time programatically, this way not touching the data at all. I know where the timezone was changed, which is the key piece of information.</p>
<p>I will let this one stew for awhile and give others a chance to chime in before making a decision.</p>
<p>Edited 6:36am PST and 6:39am PST: Fixed the unclosed italicized text and removed a redundant sentence. Removed the post list, not really needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: engtech</title>
		<link>http://www.makeyougohmm.com/20070125/4178/#comment-395545</link>
		<author>engtech</author>
		<pubDate>Fri, 26 Jan 2007 07:14:06 +0000</pubDate>
		<guid>http://www.makeyougohmm.com/20070125/4178/#comment-395545</guid>
		<description>One thing to be careful of is that the permalink URL uses the date. Change the "day" the post happened on and you run the risk of breaking all of your URLs.

I had a friend do that when he tried to bump old posts to the front page.</description>
		<content:encoded><![CDATA[<p>One thing to be careful of is that the permalink URL uses the date. Change the &#8220;day&#8221; the post happened on and you run the risk of breaking all of your URLs.</p>
<p>I had a friend do that when he tried to bump old posts to the front page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pkelley</title>
		<link>http://www.makeyougohmm.com/20070125/4178/#comment-395324</link>
		<author>pkelley</author>
		<pubDate>Fri, 26 Jan 2007 01:40:44 +0000</pubDate>
		<guid>http://www.makeyougohmm.com/20070125/4178/#comment-395324</guid>
		<description>It is a pain, but I am glad that Wordpress is free.  It is worth it's weight in gold.

Just my opinion.  Then again, I used to work support for a free audio player and had my head ripped off frequently.</description>
		<content:encoded><![CDATA[<p>It is a pain, but I am glad that Wordpress is free.  It is worth it&#8217;s weight in gold.</p>
<p>Just my opinion.  Then again, I used to work support for a free audio player and had my head ripped off frequently.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
