From 28b084ca25387340ba07a5ffed8403d8d289cb70 Mon Sep 17 00:00:00 2001
From: w-e-w <40751091+w-e-w@users.noreply.github.com>
Date: Wed, 30 Aug 2023 15:28:46 +0900
Subject: [PATCH 1/2] extension time format in system time zone
---
modules/ui_extensions.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/ui_extensions.py b/modules/ui_extensions.py
index 83557d7a003..fa831f5703e 100644
--- a/modules/ui_extensions.py
+++ b/modules/ui_extensions.py
@@ -177,7 +177,7 @@ def extension_table():
{remote} |
{ext.branch} |
{version_link} |
- {time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(ext.commit_date))} |
+ {datetime.fromtimestamp(ext.commit_date) if ext.commit_date else ""} |
{ext_status} |
"""
From 67cd4ec0aabb69d1133dfb18543ab080be855323 Mon Sep 17 00:00:00 2001
From: w-e-w <40751091+w-e-w@users.noreply.github.com>
Date: Wed, 30 Aug 2023 15:37:13 +0900
Subject: [PATCH 2/2] lint
---
modules/ui_extra_networks_user_metadata.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/ui_extra_networks_user_metadata.py b/modules/ui_extra_networks_user_metadata.py
index ae972fbb2fa..bfec140cc73 100644
--- a/modules/ui_extra_networks_user_metadata.py
+++ b/modules/ui_extra_networks_user_metadata.py
@@ -6,7 +6,6 @@
import gradio as gr
from modules import generation_parameters_copypaste, images, sysinfo, errors, ui_extra_networks
-from modules.paths_internal import models_path
class UserMetadataEditor: