Dec 272005
 

Nintendo Zelda Twilight Princess (Revolution/GameCube) Gameplay Footage:

Via digg.  What can I say?  It’s awesome, and I’m definitely buying this game as soon as it comes out, even though it’ll probably mean I have to fix my gamecube or buy another…

Freezing Rain

 Freezing Rain  General  Comments Off on Freezing Rain
Dec 082005
 

Just in case you were curious what the OS X Tiger Dashboard picture for “freezing rain” was:

Freezing Rain!

WP timestamp problem fixed

 WP timestamp problem fixed  General  Comments Off on WP timestamp problem fixed
Dec 072005
 

I’ve been having an issue for the last week or two, where articles that I post to the site with ecto (or, more likely, anything that uses the XMLRPC interface) have a correct timestamp, but are going into the “future posts” section.

On further investigation, it turned out that the post_date_gmt was wrong, by a factor that was exactly the same as my TZ offset (i.e., the post was scheduled to go up 6 hours in the future).  I narrowed it down to either a timezone problem on my system, or a problem with wordpress itself.  A lot of digging later, I’ve got the solution.

The getIso function of the IXR_Date class (in wp-includes/class-IXR.php) doesn’t return a timezone.  So to fix the problem, I made the following change:
On line 628, change
return $this->year.$this->month.$this->day.'T'.$this->hour.':'.$this->minute.':'.$this->second;
to this:
return $this->year.$this->month.$this->day.'T'.$this->hour.':'.$this->minute.':'.$this->second.$this->timezone;

Should clear the problem right up.