title: Date conditions using Search logic
body: <p>The Rails plugin - <a href="http://github.com/binarylogic/searchlogic" rel="nofollow noreferrer">Searchlogic</a>, from binary logic - offers the ability to filter by date.  I have my form set up like so...</p>
  
  <pre><code>&lt;% form_for @search do |f| %&gt;
      &lt;%= f.label :start %&gt; &lt;%= f.select :due_at_after, [[['','']],['November', '2009-11-01'.to_date],['December', '2009-12-01'.to_date]]  %&gt;&lt;br&gt;
      &lt;%= f.label :end %&gt; &lt;%= f.select :due_at_before, [[['','']],['December', '2009-12-01'.to_date],['January', '2010-01-01'.to_date]]  %&gt;
      &lt;%= f.submit 'Search' %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>But, the date I'm getting back from the @search object as generated in the controller...</p>
  
  <pre><code>@search = Task.with_member(current_user).search(params[:search])
  </code></pre>
  
  <p>is generating a date param that looks like this </p>
  
  <pre><code>{:due_at_after=&gt;Sat, 31 Oct 2009 20:00:00 EDT -04:00}
  </code></pre>
  
  <p>With the two formats, the form will not show the drop-down as selected.  It looks as if the format in the searchlogic object uses a timezone adjusted time, too.</p>
  
  <p>Any thoughts on how to handle this?  </p>