2.1.0
版本发布时间: 2015-08-15 00:14:48
hilios/jQuery.countdown最新发布版本:2.2.0(2016-08-08 20:23:54)
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...'));
});
1、 jquery.countdown-2.1.0.zip 5.81KB