From ff37b39c2d79244cc75c68fa033ee8b5b7faa28e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 12 Jul 2018 16:15:36 +0200 Subject: [PATCH] change onair message to display correct start day --- panikweb/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panikweb/views.py b/panikweb/views.py index bf7afa0..197dbe9 100644 --- a/panikweb/views.py +++ b/panikweb/views.py @@ -649,7 +649,7 @@ listen = Listen.as_view() @to_json('api') def onair(request): if date.today() < date(2018, 7, 30): - return {'emission': {'title': 'À partir du 30 juillet 17h', 'url': '/'}} + 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': '/'}} d = whatsonair() -- 2.39.2