function home_latest() {

  let dt2=get_localstorage('latest');

  let dt=dt2.data;

  console.log('home_latest ready')

  //console.log(dt2)

  

  var content = ``;

  //dt.forEach(v => {

  for(let a=0;a<6;a++){

    content +=`

  <swiper-slide>

    <a href="p/latest_byid/${dt[a].id}" data-href="p/latest/${dt[a].id}" class="card card-movie">

      <div class="card-image">

        <img src="${dt[a].img}" alt="${dt[a].title}">        

         <div class="card-movie-rating">

         <i class="icon f7-icons text-color-yellow">clock_fill</i>

         ${InDayHour(dt[a].publish_at)}</div>

      </div>

    </a>

  </swiper-slide>

    `;

  };

  content +=``;

  $("#home_latest").html(content);

  

}