code: def naturaltime(val):
      
      val = val.replace(tzinfo=pytz.utc) \
          if isinstance(val, datetime) else parse(val)
      now = datetime.utcnow().replace(tzinfo=pytz.utc)
  
      return humanize.naturaltime(now - val)
docs: Get humanized version of time.