diff --git a/public/main.js b/public/main.js
index 3ba5923..4f3df16 100644
--- a/public/main.js
+++ b/public/main.js
@@ -530,10 +530,12 @@ function displaySheetCards(sheets) {
let sheetDescription = document.createElement("p");
sheetDescription.className = "card-text";
- sheetDescription.innerHTML =
- "Modified " +
- formatRelativeTime(new Date(sheet.modifiedTime)) +
- "";
+ if (sheet.modifiedTime) {
+ sheetDescription.innerHTML =
+ "Modified " +
+ formatRelativeTime(new Date(sheet.modifiedTime)) +
+ "";
+ }
sheetCardBody.appendChild(sheetTitle);
sheetCardBody.appendChild(sheetDescription);