Only remember anonymous participation 1 month

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-09-30 10:40:10 +02:00
parent 9ceda224d3
commit 2dccd5eccd
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -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;
}