Handling time parsing error