From e967cc93ac85a07082da67211513815ec7f2eab3 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Sat, 8 Nov 2025 21:19:35 -0800
Subject: allow for timestamp = 0 to represent unknown date which a score was
 achieved

---
 frontend/src/components/displays/DancearoundScoreDisplay.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'frontend/src/components/displays/DancearoundScoreDisplay.tsx')

diff --git a/frontend/src/components/displays/DancearoundScoreDisplay.tsx b/frontend/src/components/displays/DancearoundScoreDisplay.tsx
index 6925dd0..973e96c 100644
--- a/frontend/src/components/displays/DancearoundScoreDisplay.tsx
+++ b/frontend/src/components/displays/DancearoundScoreDisplay.tsx
@@ -48,6 +48,8 @@ const DancearoundScoreDisplay: React.FC<ScoreDisplayProps> = ({
 
     // Handle timestamps
     if (key === "timestamp" || key === "date") {
+      if(value === 0)
+        return "N/A";
       const date = new Date(typeof value === "number" ? value : value);
       return date.toLocaleDateString();
     }
-- 
cgit v1.2.3

