fix error with date from in xsys rake tasks