Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shivangi1422 committed May 9, 2024
1 parent d64c355 commit 1a443fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/events/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function separateEventsByDate(events, currentDate, classParameter) {
const futureEvents = [];
const archivedEvents = [];
events.forEach((event) => {
const startDate = new Date((event.startdate- 25569) * 24 * 60 * 60 * 1000);
const startDate = new Date((event.startdate - 25569) * 24 * 60 * 60 * 1000);
const endDate = new Date((event.enddate - 25569) * 24 * 60 * 60 * 1000);

if (startDate > currentDate || endDate > currentDate) {
Expand Down

0 comments on commit 1a443fd

Please sign in to comment.