forked from DGNum/gestioCOF
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:
commit
a29c73cb27
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ class SpectacleRevente(models.Model):
|
||||||
def expiration_time_str(self):
|
def expiration_time_str(self):
|
||||||
return self.expiration_time \
|
return self.expiration_time \
|
||||||
.astimezone(timezone.get_current_timezone()) \
|
.astimezone(timezone.get_current_timezone()) \
|
||||||
.strftime('%D à %H:%M')
|
.strftime('%d/%m/%y à %H:%M')
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def shotgun(self):
|
def shotgun(self):
|
||||||
|
|
Loading…
Reference in a new issue