WIP: trying to normalise date handling and add jobs to schedule when saved to DB.