<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,13 +3,14 @@ require 'chronic'
 
 class ActiveRecord::ConnectionAdapters::Column
   class &lt;&lt; self
-    def string_to_date(string)
-      return string unless string.is_a?(String)
-      return nil if string.empty?
+    def string_to_date_with_chronic(string)
+      result = string_to_date_without_chronic(string)
+      return result if result
       
       parsed = Chronic.parse(string)
       parsed and parsed.to_date
     end
+    alias_method_chain :string_to_date, :chronic
     
     def string_to_time_with_chronic(string)
       result = string_to_time_without_chronic(string)</diff>
      <filename>lib/autochronic.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e172c16715489b0c8761af21f8bd288a89c7c6e8</id>
    </parent>
  </parents>
  <author>
    <name>Yossef Mendelssohn</name>
    <email>ymendel@pobox.com</email>
  </author>
  <url>http://github.com/flogic/autochronic/commit/2a6e587762339ae356a1a7d9e816b0ebcb5ca818</url>
  <id>2a6e587762339ae356a1a7d9e816b0ebcb5ca818</id>
  <committed-date>2008-02-07T21:56:19-08:00</committed-date>
  <authored-date>2008-02-07T21:56:19-08:00</authored-date>
  <message>Refactoring the date manipulation in the same pattern as the time stuff.</message>
  <tree>e44e17670ca0ab70211bfe69e1794002a220bb16</tree>
  <committer>
    <name>Yossef Mendelssohn</name>
    <email>ymendel@pobox.com</email>
  </committer>
</commit>
