From 879e64fb7ca919d69129408a8d7279c270bf43cf Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 16 Apr 2026 17:41:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8F=92=E4=BB=B6=E5=AE=9A?= =?UTF-8?q?=E6=97=B6=E4=BB=BB=E5=8A=A1=E6=98=9F=E6=9C=9F=E4=B8=8E=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=A0=BC=E5=BC=8F=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 变更项:1) async_job 触发文案把每周数字改为中文星期(周一到周日),消除星期显示歧义。2) async_job 时间序列化改为 yyyy-MM-dd HH:mm:ss,去掉 ISO 格式中的 T。3) 插件定时任务页面统一使用 formatDateTime 渲染下次执行、上次执行与日志触发时间,前端兜底去除 T。4) 补充中文注释说明显示层与调度层格式化意图。 --- .../dashboard/templates/plugin_schedules.html | 38 +++++++++++++++++-- utils/decorator/async_job.py | 23 +++++++++-- 2 files changed, 55 insertions(+), 6 deletions(-) diff --git a/admin/dashboard/templates/plugin_schedules.html b/admin/dashboard/templates/plugin_schedules.html index 8af30f4..1952250 100644 --- a/admin/dashboard/templates/plugin_schedules.html +++ b/admin/dashboard/templates/plugin_schedules.html @@ -27,8 +27,16 @@ {% raw %}{{ scope.row.enabled ? '是' : '否' }}{% endraw %} - - + + + + + +