class Faker::Time

def time_with_format(time, format)

def time_with_format(time, format)
  format.nil? ? time : I18n.localize(time, format: format)
end