Browse Source

Merge branch 'fix-171' of rezemika/coin into master

jocelyn 6 years ago
parent
commit
3e01dfc758
1 changed files with 2 additions and 2 deletions
  1. 2 2
      coin/billing/models.py

+ 2 - 2
coin/billing/models.py

@@ -440,10 +440,10 @@ class Payment(models.Model):
 
     def __unicode__(self):
         if self.member is not None:
-            return 'Paiment de {:0.2f}€ le {} par {}'.format(
+            return 'Paiment de {:0.2f}€ le {:%d/%m/%Y} par {}'.format(
                 self.amount, self.date, self.member)
         else:
-            return 'Paiment de {:0.2f}€ le {}'.format(
+            return 'Paiment de {:0.2f}€ le {:%d/%m/%Y}'.format(
                 self.amount, self.date)
 
     class Meta: