forked from DGNum/gestioCOF
commentaire plus précis
This commit is contained in:
parent
b15dc6d9dc
commit
04c75036ad
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ class SpectacleRevente(models.Model):
|
||||||
- self.date - timedelta(hours=13))
|
- self.date - timedelta(hours=13))
|
||||||
# Au minimum, on attend 2 jours avant le tirage
|
# Au minimum, on attend 2 jours avant le tirage
|
||||||
delay = min(remaining_time, timedelta(days=2))
|
delay = min(remaining_time, timedelta(days=2))
|
||||||
# On a aussi 1h pour changer d'avis
|
# Le vendeur a aussi 1h pour changer d'avis
|
||||||
return self.date + delay + timedelta(hours=1)
|
return self.date + delay + timedelta(hours=1)
|
||||||
|
|
||||||
def expiration_time_str(self):
|
def expiration_time_str(self):
|
||||||
|
|
Loading…
Reference in a new issue