Fixed airing dates
This commit is contained in:
parent
58e7c8a34d
commit
b6d00684b7
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user