notamitgamer

It's my profile man, there is ...
Log | Files | Refs | README

commit 0dabed1839da5f39f9b3d557f4f54591024eb1d5
parent 851566fa4ddc86cec920fd103c15b4504bba3bd9
Author: Amit Dutta <amitdutta4255@gmail.com>
Date:   Thu, 28 May 2026 08:06:08 +0530

Update date parsing in update_commits.py

Refactor date parsing to use fromisoformat method.
Diffstat:
M.github/scripts/update_commits.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/scripts/update_commits.py b/.github/scripts/update_commits.py @@ -27,7 +27,7 @@ def fetch_recent_commits(): for item in items: date_str = item['commit']['author']['date'] - date_obj = datetime.strptime(date_str, "%Y-%m-%dT%H:%M:%SZ") + date_obj = datetime.fromisoformat(date_str) msg = item['commit']['message'].split('\n')[0] commit_url = item['html_url']
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror