diff --git a/index.html b/index.html
index 7f5c8b5..dee5b7a 100644
--- a/index.html
+++ b/index.html
@@ -330,7 +330,7 @@
let classes = ["bi"]
const adjustedDate = new Date((new Date()).getTime() - offset * 24 * 60 * 60 * 1000);
- const formattedDate = adjustedDate.toISOString().split('T')[0];
+ const formattedDate = adjustedDate.getFullYear().toString() + "-" + (adjustedDate.getMonth() + 1).toString().padStart(2, "0") + "-" + adjustedDate.getDate().toString().padStart(2, "0");
if (streakData.length > 0) {
if (streakData.includes(formattedDate)) {