Skip to content

Commit

Permalink
No need to return new Date()
Browse files Browse the repository at this point in the history
  • Loading branch information
vespasianvs committed Feb 21, 2025
1 parent 47196b8 commit 48fe362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const createDate = (
date.setDate(date.getDate() + days);
date.setMonth(date.getMonth() + months);

return new Date(date);
return date;
};

export const EVENTS: ProcessedEvent[] = [
Expand Down

0 comments on commit 48fe362

Please sign in to comment.