<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,3 @@
-require 'date'
-
 class Article
   def self.path=(path)
     @path = path
@@ -21,7 +19,7 @@ class Article
     text[/\-\s*#\s*#{name}:\s*(.+)/, 1]
   end
   def self.parse_date(date_string)
-    date_string &amp;&amp; Date.civil(*date_string.split('-').map{|s|s.to_i})
+    date_string &amp;&amp; Time.local(*date_string.split('-').map{|s|s.to_i})
   end
   
   attr_reader :path, :template</diff>
      <filename>lib/article.rb</filename>
    </modified>
    <modified>
      <diff>@@ -60,7 +60,7 @@ describe &quot;Article.parse_date&quot; do
     Article.parse_date(nil).should be_nil
   end
   it &quot;returns the date&quot; do
-    Article.parse_date(&quot;2008-12-25&quot;).should == Date.new(2008,12,25)
+    Article.parse_date(&quot;2008-12-25&quot;).should == Time.local(2008,12,25)
   end
   it &quot;returns blows up if given an invalid date&quot; do
     lambda { Article.parse_date(&quot;12-25-2008&quot;) }.should raise_error</diff>
      <filename>spec/article_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>63962161558052a29993da21c557a894b4b7de3e</id>
    </parent>
  </parents>
  <author>
    <name>Tim Lucas</name>
    <email>t.lucas@toolmantim.com</email>
  </author>
  <url>http://github.com/toolmantim/toolmantim/commit/2d455c95e37864fcb40908a4ba87f977c6be22cf</url>
  <id>2d455c95e37864fcb40908a4ba87f977c6be22cf</id>
  <committed-date>2009-01-03T06:17:27-08:00</committed-date>
  <authored-date>2009-01-03T06:17:27-08:00</authored-date>
  <message>Change to times instead of dates</message>
  <tree>cbc2720fdc0d2ef0a6f94ceda934945d8e027ae0</tree>
  <committer>
    <name>Tim Lucas</name>
    <email>t.lucas@toolmantim.com</email>
  </committer>
</commit>
