]> git.0d.be Git - panikweb.git/commitdiff
don't display nonstop info before 31/7
authorFrédéric Péters <fpeters@0d.be>
Mon, 30 Jul 2018 16:01:30 +0000 (18:01 +0200)
committerFrédéric Péters <fpeters@0d.be>
Mon, 30 Jul 2018 16:01:30 +0000 (18:01 +0200)
panikweb/views.py

index e5dae033ef30ec46b59d053d0a7649611ec8d084..e32a1698970153c54715d81a0197591f0df746f5 100644 (file)
@@ -657,7 +657,7 @@ listen = Listen.as_view()
 @csrf_exempt
 @to_json('api')
 def onair(request):
-    if date.today() < date(2018, 7, 30):
+    if date.today() < date(2018, 7, 31):
         return {'emission': {'title': 'À partir du 31 juillet 18h', 'url': '/'}}
     if date.today() > date(2018, 8, 5):
         return {'emission': {'title': "À l'année prochaine, découvrez les podcasts !", 'url': '/'}}