code: function formatSlugDate(date) {
    const year = date.getFullYear();
  
    let month = date.getMonth() + 1;
    if (month < 10) {
      month = `0${month}`;
    }
  
    let day = date.getDate();
    if (day < 10) {
      day = `0${day}`;
    }
  
    return `${year}/${month}/${day}`;
  }
docs: Return the required date format in slug (YYYY/MM/DD)
  
  @param  {Date} date
  
  @returns {string} YYYY/MM/DD formated date