title: How do I change constraints in a dojo DateTextBox dynamically?
body: <p>I tried to do this:</p>
  
  <pre><code>dojo.mixin(endDate.constraints, {min: new Date(2009,09,14)});
  </code></pre>
  
  <p>But as a result I got this:</p>
  
  <pre><code>min    Wed Oct 14 2009 00:00:00 GMT+0200 (CET)
  </code></pre>
  
  <p>??? It always adds one month! Is this a bug?</p>
  
  <p>But what I actually want to do is something like this:</p>
  
  <pre><code>dojo.mixin(endDate.constraints, {min: dijit.byId("beginDate").date});
  </code></pre>
  
  <p>This results in:</p>
  
  <pre><code>min    undefined
  </code></pre>