make sure history/schedule and participant are valid before saving them + convert the datetime when necessary