title: Javascript countdown not repeating every saturday
body: <p>my countdown should repeat every saturday at 8pm (gmt+2), however once it hits 8pm, the countdown is stuck on EXPIRED. I don't understand why, does someone recognize the issue?</p>
  
  <p>Appreciate any help and thanks in advance.</p>
  
  <pre><code> function nextSaturday() {
      var d = new Date();
      console.log(d.getDay());
      if (d.getDay() == 7 &amp;&amp; d.getHours() &lt; 20){
        d.setHours(20);
        d.setMinutes(0);
        d.setSeconds(0);
        return d;
      }
      switch (d.getDay()) {
          case 0: d.setDate(d.getDate() + 6);
              break;
          case 1: d.setDate(d.getDate() + 5);
              break;
          case 2: d.setDate(d.getDate() + 4);
              break;
          case 3: d.setDate(d.getDate() + 3);
              break;
          case 4: d.setDate(d.getDate() + 2);
              break;
          case 5: d.setDate(d.getDate() + 1);
              break;
          case 6: d.setDate(d.getDate() + 0);
              break;
      }
      d.setHours(20);
      d.setMinutes(0);
      d.setSeconds(0);
      return d;
  }
  
  var end = nextSaturday();
  var _second = 1000;
  var _minute = _second * 60;
  var _hour = _minute * 60;
  var _day = _hour * 24;
  var timer;
  
  function showRemaining() {
      var now = new Date();
      var distance = end - now;
      if (distance &lt; 0) {
  
          clearInterval(timer);
          document.getElementById("countdown").innerHTML = "EXPIRED!";
  
          return;
      }
      var days = Math.floor(distance / _day);
      var hours = Math.floor((distance % _day) / _hour);
      var minutes = Math.floor((distance % _hour) / _minute);
      var seconds = Math.floor((distance % _minute) / _second);
  
      document.getElementById("countdown").innerHTML = "Countdown ends in: ";
      document.getElementById("countdown").innerHTML += days + " days ";
      document.getElementById("countdown").innerHTML += hours + " hours ";
      document.getElementById("countdown").innerHTML += minutes + " minutes and ";
      document.getElementById("countdown").innerHTML += seconds + " seconds left";
  
  }
  showRemaining();
  timer = setInterval(showRemaining, 1000);
  </code></pre>