Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisKorkut-bcgov committed Jul 17, 2024
2 parents 6179715 + 87efe22 commit 410eb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/attendees.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ exports.send = async (req, res, next) => {
const currentYear = new Date().getFullYear();
const deadline =
settings.find((s) => s?.name === "rsvp-deadline")?.value ||
`Jul 28, ${currentYear} 23:59:59`;
`Jul 29, ${currentYear} 16:59:59`;

const expiry = Math.ceil(
Math.abs(RsvpSendDate.getTime() - new Date(deadline).getTime()) / 1000
Expand Down

0 comments on commit 410eb99

Please sign in to comment.