Cybrkyd's git repositories

GitGen • commit: 6c30f91

commit 6c30f91aade9c6fc1ec7307ee16e82fcd20f82e4e0c59034d942730b0edace55
author cybrkyd <noreply@cybrkyd.com> 2025-12-29 07:44:28 +0000
committer cybrkyd <noreply@cybrkyd.com> 2025-12-29 07:44:28 +0000

Commit Message

Shorten main index commit date/time

📊 Diffstat

gitgen.py 2
1 files changed, 1 insertions(+), 1 deletions(-)

Diff

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">