Skip to content

Commit

Permalink
fix: timezone-sensitive filtering of heatmap
Browse files Browse the repository at this point in the history
Closes #21
  • Loading branch information
Lemmmy committed May 20, 2024
1 parent 49b2b2c commit 90345a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/dashboard/heatmap/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,5 @@ export async function generateHeatmapData(
});

yearsArray.reverse(); // Sort by year descending
return yearsArray.filter(y => y.year !== 1970); // lol
return yearsArray.filter(y => y.year > 1970); // lol
}

0 comments on commit 90345a6

Please sign in to comment.