fix restart/stop date handling of restart file for nmonths/nyears