diff --git a/gitgen.py b/gitgen.py
index 29d0821..61bc39c 100644
--- a/gitgen.py
+++ b/gitgen.py
@@ -276,7 +276,7 @@ class HTMLGenerator:
for repo in repos:
last_commit = repo.get('latest_commit', {})
- last_commit_date = last_commit.get('date', 'N/A') if last_commit else 'N/A'
+ last_commit_date = last_commit.get('date', 'N/A')[:10] if last_commit and last_commit.get('date') else 'N/A'
html_fragments.append(f"""
<tr>
<td class="repo-name">