Months and weeks offsets

Display the possibles days offsets %n, %d and %D regarging the months, weeks and the total amount of the days until the finish date.

New year's eve in weeks:
New year's eve in months:
New year's eve in days:
HTML:
<div id="wrapper">
  <div id="clock-a"></div>
  <div id="clock-b"></div>
  <div id="clock-c"></div>
</div>
JS:
$('#wrapper').countdown('2020/10/10', function(event) {
  $('#clock-a').html(event.strftime('%w weeks and %d days'));
  $('#clock-b').html(event.strftime('%m months and %n days'));
  $('#clock-c').html(event.strftime('%D days'));
});
Fork me on GitHub