X-Git-Url: https://code.delx.au/comingnext/blobdiff_plain/35bacd7c90ae56f8d1733608f191ea133bf0ea7e..fea02bba692fc1a21bf9423f138e3bab3daf6498:/comingNext/index.html diff --git a/comingNext/index.html b/comingNext/index.html index 82abc58..90a29cc 100644 --- a/comingNext/index.html +++ b/comingNext/index.html @@ -160,8 +160,8 @@ function isToday(date) function isTomorrow(date) { if ((date.getDate() == now.getDate() + 1 && date.getMonth() == now.getMonth()) || - (date.getDate() == 0 && date.getMonth() == now.getMonth() + 1) || - (date.getDate() == 0 && date.getMonth() == now.getMonth() + 1 && date.getYear() == now.getYear() + 1)) + (date.getDate() == 1 && date.getMonth() == now.getMonth() + 1) || + (date.getDate() == 1 && date.getMonth() == 0 && now.getMonth() == 11 && date.getYear() == now.getYear() + 1)) return true; return false; }