rescue exception when time_field is an integer

Time.parse raise TypeError exception if it's first argument is an integer. This happen when we return time_field as timestamp integer.