Merge branch 'Aufinal/date_mail' into 'master'

date au format français

Note : non testé, mon django me revoie des erreurs d'unicode

See merge request !98
This commit is contained in:
Martin Pepin 2016-10-13 16:28:45 +02:00
commit a29c73cb27

View file

@ -252,7 +252,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):