Fixed airing dates

This commit is contained in:
Eduard Urbach 2017-06-29 09:04:59 +02:00
parent 58e7c8a34d
commit b6d00684b7

View File

@ -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"