#257: fixed fromdate and todate

added date attrs to fromdate and todate, changed to m.mixed.basic