date au format français

This commit is contained in:
Ludovic Stephan 2016-10-10 17:10:45 +02:00
parent f032b6c5ec
commit fdf1c65de4

View file

@ -253,7 +253,7 @@ class SpectacleRevente(models.Model):
def expiration_time_str(self):
return self.expiration_time \
.astimezone(timezone.get_current_timezone()) \
.strftime('%D à %H:%M')
.strftime('%d/%m/%y à %H:%M')
@property
def shotgun(self):