feat: 用户列表显示任务开启时间

This commit is contained in:
Nixevol
2026-11-19 02:19:01 +08:00
parent 28f424f2d3
commit 85e437b74c
8 changed files with 62 additions and 3 deletions
+1
View File
@@ -95,6 +95,7 @@ def list_users(db: Session) -> list[dict]:
"study_paused": control["paused"],
"study_ignore_window": control["ignore_window"],
"study_started": control["started"],
"study_opened_at": _iso_time(account.study_opened_at),
"hours_month": account.hours_month or "",
"study_active": work_running(account.employee_id),
"state": str(live.get("state") or ""),