aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-08-30 15:28:46 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-08-30 15:28:46 +0900
commit28b084ca25387340ba07a5ffed8403d8d289cb70 (patch)
tree994d7402bb00ffad69adb9c5c4329f5d953c7f52 /modules
parentf874b1bcad05d7ea4c3cc28df82904ac7c12e64f (diff)
extension time format in system time zone
Diffstat (limited to 'modules')
-rw-r--r--modules/ui_extensions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_extensions.py b/modules/ui_extensions.py
index 83557d7a..fa831f57 100644
--- a/modules/ui_extensions.py
+++ b/modules/ui_extensions.py
@@ -177,7 +177,7 @@ def extension_table():
<td>{remote}</td>
<td>{ext.branch}</td>
<td>{version_link}</td>
- <td>{time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(ext.commit_date))}</td>
+ <td>{datetime.fromtimestamp(ext.commit_date) if ext.commit_date else ""}</td>
<td{' class="extension_status"' if ext.remote is not None else ''}>{ext_status}</td>
</tr>
"""