Use abbreviation for hours in countdown timer

This commit is contained in:
Brian Miyaji
2014-02-08 23:08:53 +11:00
parent 5f71cc1e06
commit b082f8814d
4 changed files with 153 additions and 153 deletions

View File

@@ -15,7 +15,7 @@ function viewport() {
var $this = $(this), finalDate = $(this).data('countdown');
$this.countdown(finalDate, function(event) {
$this.html(event.strftime("<span>%D <small>" + localized_strings.days + "</small></span> "
+ "<span>%H <small>" + localized_strings.hours + "</small></span> "
+ "<span>%H <small>" + localized_strings.hrs + "</small></span> "
+ "<span>%M <small>" + localized_strings.mins + "</small></span> "
+ "<span>%S <small>" + localized_strings.secs + "</small></span>" ));
});