Follow the semver correctly this time, new features available since elapse
version.
What's new in 2.1.0?
- Proper offset for days left to a month and to a week;
- Fix bower (Issue #136);
daysToMonth %n
The amount of days left from a complete month:
$('#clock').countdown('YYYY/MM/DD', function(event) {
$(this).html(event.strftime('%m months and %n days till end...'));
});
daysToWeek %d
The amount of days left from a complete weeks. The old days
behaviour will be changed to match the totalDays
.
$('#clock').countdown('YYYY/MM/DD', function(event) {
$(this).html(event.strftime('%w weeks and %d days till end...'));
});