Merge pull request #12864 from AUTOMATIC1111/extension-time-format-time-zone

patch Extension time format in systme time zone
This commit is contained in:
AUTOMATIC1111 2023-08-30 09:45:12 +03:00 committed by GitHub
commit 644b537014
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

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

View File

@ -6,7 +6,6 @@ import os.path
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: