From 018f493b163b4326897ae4478ca782458997ceca Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Mon, 3 Oct 2016 14:47:13 +0200 Subject: [PATCH] fix date writing --- bda/management/commands/manage_reventes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bda/management/commands/manage_reventes.py b/bda/management/commands/manage_reventes.py index f45357b1..5fa3806b 100644 --- a/bda/management/commands/manage_reventes.py +++ b/bda/management/commands/manage_reventes.py @@ -14,7 +14,7 @@ class Command(BaseCommand): def handle(self, *args, **options): now = timezone.now() - self.stdout.write(now) + self.stdout.write(now.__str__()) reventes = SpectacleRevente.objects.all() for revente in reventes: # Check si < 24h