forked from DGNum/gestioCOF
fix date writing
This commit is contained in:
parent
ad0c398292
commit
018f493b16
|
@ -14,7 +14,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
now = timezone.now()
|
now = timezone.now()
|
||||||
self.stdout.write(now)
|
self.stdout.write(now.__str__())
|
||||||
reventes = SpectacleRevente.objects.all()
|
reventes = SpectacleRevente.objects.all()
|
||||||
for revente in reventes:
|
for revente in reventes:
|
||||||
# Check si < 24h
|
# Check si < 24h
|
||||||
|
|
Loading…
Reference in a new issue