function convertYouTubeDlDateToJsDate(youtubeDlDate){
  var dateString  = youtubeDlDate;

  // console.log(dateString)
  var year        = dateString.substring(0,4);
  var month       = dateString.substring(4,6);
  var day         = dateString.substring(6,8);

  var date        = new Date(year, month-1, day);

  // console.log(date);

  return date;

}
Has to be run from /scripts *