diff --git a/js/calendar.js b/js/calendar.js index c698bc8d1..4d79a69a8 100644 --- a/js/calendar.js +++ b/js/calendar.js @@ -278,7 +278,7 @@ class Calendar { continue; } var isToday = (now.getDate() === day && now.getMonth() === this.month && now.getFullYear() === this.year); - if (isToday) { + if (isToday && !!preferences['count-today']) { //balance considers only up until yesterday break; }