Skip to content

Commit

Permalink
Merge pull request #1462 from mfts/marc/pm-83-overview-dashboard-of-a…
Browse files Browse the repository at this point in the history
…ll-links-documents-and-people

fix: dashboard
  • Loading branch information
mfts authored Jan 30, 2025
2 parents be7ad20 + b79d087 commit 2426ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/analytics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default async function handler(
case "24h":
// Get start of the hour 24 hours ago
startDate = new Date(now);
startDate.setHours(startDate.getHours() - 24);
startDate.setHours(startDate.getHours() - 23);
startDate.setMinutes(0, 0, 0);
break;
case "7d":
Expand Down

0 comments on commit 2426ea5

Please sign in to comment.