diff --git a/views/default.handlebars b/views/default.handlebars
index f0070a21..c53a2632 100644
--- a/views/default.handlebars
+++ b/views/default.handlebars
@@ -8566,7 +8566,7 @@
}
x += '
| ' + datavalue + ' |
';
++count;
- date = new Date(date.getTime() - (1000 * 60 * 60 * 24)); // Substract one day
+ date = new Date(date.getFullYear(), date.getMonth(), date.getDate() - 1);
}
// Add the language and timezone of the browser to the server so the server can localize the time correctly.
var tz = '';