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 f3fe521982
commit 8d72086fb9

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