1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-06-21 06:38:23 +02:00

Translate phases

This commit is contained in:
Yohann D'ANELLO
2020-10-20 12:54:49 +02:00
parent bbeada74c7
commit d1f2402373
2 changed files with 60 additions and 30 deletions

View File

@ -194,7 +194,7 @@ class Phase(models.Model):
)
def __str__(self):
return _("Phase {phase_number:d} starts on {start:%Y-%m-%d %H:%M:} and ends on {end:%Y-%m-%d %H:%M}")\
return _("Phase {phase_number:d} starts on {start:%Y-%m-%d %H:%M} and ends on {end:%Y-%m-%d %H:%M}")\
.format(phase_number=self.phase_number, start=self.start, end=self.end)
class Meta: