From b6d00684b70b6fb28e17c6999cfa7e81b7de075f Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 29 Jun 2017 09:04:59 +0200 Subject: [PATCH] Fixed airing dates --- scripts/AnimeNotifier.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/AnimeNotifier.ts b/scripts/AnimeNotifier.ts index 2b38c29a..e4147d86 100644 --- a/scripts/AnimeNotifier.ts +++ b/scripts/AnimeNotifier.ts @@ -100,10 +100,13 @@ export class AnimeNotifier { switch(dayDifference) { case 0: element.innerText = "Today" + break case 1: element.innerText = "Tomorrow" + break case -1: element.innerText = "Yesterday" + break default: let text = Math.abs(dayDifference) + " days"