update generator with the exception handling change
don't use to_iso anymore but use the dates directly