Skip to content

Commit

Permalink
modify date for mandatory beneficiary address in convention form
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementLmd committed Oct 1, 2024
1 parent e671cb1 commit ec1de58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/convention/conventionRefinements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const minorBeneficiaryHasRepresentative = ({
export const validateBeneficiaryAddressAndParse = (
convention: ConventionDto,
) => {
const ruleAppliesFrom = new Date("2024-10-01");
const ruleAppliesFrom = new Date("2024-10-02");
const conventionWasSubmittedBeforeRuleApplies =
new Date(convention.dateSubmission).getTime() < ruleAppliesFrom.getTime();
if (
Expand Down

0 comments on commit ec1de58

Please sign in to comment.