Skip to content

Commit

Permalink
Fix Graph
Browse files Browse the repository at this point in the history
  • Loading branch information
no1mann committed Dec 1, 2024
1 parent a75ac1d commit 911cbc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@
let points = await response.json();

for (let point of points) {
point.time = new Date(point.date);
point.time = getDateTimeInGMT(point.date);
point.x = point.time.getTime();
point.year = point.time.getFullYear();
}
Expand Down Expand Up @@ -780,8 +780,8 @@
display: true,
text: `Day (GMT)`
},
min: getDateTimeInGMT(new Date(JingleJam.graphDates.minDate)),
max: getDateTimeInGMT(new Date(JingleJam.graphDates.maxDate)),
min: getDateTimeInGMT(new Date('12/01/2024 17:00 GMT')),
max: getDateTimeInGMT(new Date('01/01/2025 00:00 GMT')),
grid: {
color: '#d4d4d4'
}
Expand Down

0 comments on commit 911cbc4

Please sign in to comment.