Only remember anonymous participation 1 month
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
9ceda224d3
commit
2dccd5eccd
@ -63,8 +63,7 @@ function insertLocalAnonymousParticipation(
|
||||
|
||||
function buildExpiration(event: IEvent): Date {
|
||||
const expiration = event.endsOn || event.beginsOn;
|
||||
expiration.setMonth(expiration.getMonth() + 3);
|
||||
expiration.setDate(1);
|
||||
expiration.setMonth(expiration.getMonth() + 1);
|
||||
return expiration;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user