From afd97ee3b7d27b6819476440c2ac530384498fc6 Mon Sep 17 00:00:00 2001 From: CarlGao4 Date: Fri, 23 Aug 2024 08:24:25 +0800 Subject: [PATCH] Change time format --- gh-actions-generate-toc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-actions-generate-toc.py b/gh-actions-generate-toc.py index 8c044be..eb27f8b 100644 --- a/gh-actions-generate-toc.py +++ b/gh-actions-generate-toc.py @@ -60,7 +60,7 @@ instruments[catagory][name][filename] = ( urllib.parse.urljoin(download_url_prefix, urllib.parse.quote(i["Key"])), # type: str i["Size"], # type: int - i["LastModified"].astimezone(datetime.timezone.utc).strftime("%Y-%m-%d %H:%M (UTC)") + i["LastModified"].astimezone(datetime.timezone.utc).strftime("%Y-%m-%d %H:%M:%S UTC") ) r = requests.post("https://dl.muse-sounds.work/get-descriptions", json={"etags": list(descriptions_pending.keys())})