some code cleanup and added a workaround for when UTC dates come in and aren't formatted according to ISO standards.