Skip to content

Commit

Permalink
Fix month calculation error for eiszeit
Browse files Browse the repository at this point in the history
  • Loading branch information
diurnalist committed Dec 23, 2016
1 parent 2ea0392 commit a39c73d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/scraper/eiszeit.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function toDate(showTime) {

const d = new Date();
d.setUTCFullYear(years);
d.setUTCMonth(months, days);
d.setUTCMonth(months - 1, days);
d.setUTCHours(hours);
d.setUTCMinutes(minutes);
d.setUTCSeconds(0);
Expand Down

0 comments on commit a39c73d

Please sign in to comment.