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