Skip to content

Commit

Permalink
Merge pull request #11025 from hicommonwealth/rotorsoft/11001-relax-q…
Browse files Browse the repository at this point in the history
…uest-start-time

Relax start date
  • Loading branch information
Rotorsoft authored Feb 18, 2025
2 parents bbb4291 + db519c6 commit 7510cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/model/src/middleware/guards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export function mustBeAuthorizedPoll(actor: Actor, context?: PollContext) {
export function mustBeValidDateRange(
start_date: Date,
end_date: Date,
startDaysInTheFuture = 1,
startDaysInTheFuture = 0,
minDaysInRange = 1,
) {
const today = moment(new Date());
Expand Down

0 comments on commit 7510cae

Please sign in to comment.