Skip to content

Commit

Permalink
[BUG] Korrigiere Veranstaltungsmonat
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Ströbl committed Aug 10, 2015
1 parent aef7f87 commit d749333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jQuery(document).ready(function() {

//TIMER EVENT
var current = new Date();
$('.time-to-event').countdown({
until: new Date(2015, 9, 25, 9, 00, 0),
$('.time-to-event').countdown({ // JS-Date constructor expects month from 0 to 11, to show this we use the month itself and subtract 1
until: new Date(2015, 9 - 1, 25, 9, 00, 0),
layout:'<div class="days"><span class="timer-text">{dn}</span> <br>Tage</div> <div class="hours"><span class="timer-text">{hn}</span> <br>Stunden</div> <div class="minutes"><span class="timer-text">{mn}</span> <br>Minuten</div> <div class="seconds"><span class="timer-text">{sn}</span> <br>Sekunden</div>'
});
}
Expand Down

0 comments on commit d749333

Please sign in to comment.