Reparse time to ensure correct format.