code: function formatHumanDate (date) {
    const months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
    const y = date.getFullYear();
    const m = date.getMonth();
    const d = date.getDate().toString();
  
    let ordinal;
    if (d.endsWith('11') || d.endsWith('12') || d.endsWith('13')) {
      ordinal = 'th';
    } else if (d.endsWith('1')) {
      ordinal = 'st';
    } else if (d.endsWith('2')) {
      ordinal = 'nd';
    } else if (d.endsWith('3')) {
      ordinal = 'rd';
    } else {
      ordinal = 'th';
    }
  
    return `${months[m]} ${d}${ordinal}, ${y}`;
  }
docs: Formats the date to a human readable format like:
  January 1st, 1970
  
  @param {Date} date The object date to format