remove qDebug and check if date is valid

3 jobs for feature/timestep_and_date_in_controls in 0 seconds (queued for 9 seconds)