Only remember anonymous participation 1 month
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f3fe521982
commit
8d72086fb9
@ -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