aboutsummaryrefslogtreecommitdiff
path: root/modules/ui_extensions.py
diff options
context:
space:
mode:
authorw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-16 09:05:42 +0900
committerw-e-w <40751091+w-e-w@users.noreply.github.com>2023-09-16 09:11:54 +0900
commit663fb8797612b863b0f0b94496039ec2ac18701c (patch)
tree62f4475e6d27648acd1e54e35418d808dbc2c84e /modules/ui_extensions.py
parent102b6617dacffdcc89c56badcaae6c5e83c3ff21 (diff)
Config states time ISO in system time zone
Diffstat (limited to 'modules/ui_extensions.py')
-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 2e8c1d6d..c0a73b57 100644
--- a/modules/ui_extensions.py
+++ b/modules/ui_extensions.py
@@ -197,7 +197,7 @@ def update_config_states_table(state_name):
config_state = config_states.all_config_states[state_name]
config_name = config_state.get("name", "Config")
- created_date = time.asctime(time.gmtime(config_state["created_at"]))
+ created_date = datetime.fromtimestamp(config_state["created_at"]).strftime('%Y-%m-%d %H:%M:%S')
filepath = config_state.get("filepath", "<unknown>")
try: