$(document).ready(function() {
  $('.date').each(function() {
    var _this = $(this)
    countdown(Date.parse($(this).data('launch-date')), function(ts) {
      _this.html(ts.toHTML());
    }, countdown.YEARS | countdown.MONTHS | countdown.DAYS | countdown.HOURS | countdown.MINUTES | countdown.SECONDS);

  });
}); 
$(document).ready(function() {
  $('.date').each(function() {
    var _this = $(this)
    launchDate = Date.parse($(this).data('launch-date'));
    if(launchDate && launchDate > Date.today()) {
      countdown(launchDate, function(ts) {
        _this.html(ts.toHTML());
      }, countdown.YEARS | countdown.MONTHS | countdown.DAYS | countdown.HOURS | countdown.MINUTES | countdown.SECONDS);
    }
  });
}); 
Remove countdownjs (countup) from dates in the past
Remove countdownjs (countup) from dates in the past
