看股功能更新

This commit is contained in:
2026-08-16 20:20:59 +08:00
parent 63f8ed8b69
commit 65d2f54d1b
9 changed files with 296 additions and 107 deletions

View File

@@ -16,7 +16,7 @@ from .db import Base
def _utcnow() -> datetime:
# naive UTC避免 SQLite 存储时区带来的麻烦
# naive UTC统一存储避免时区带来的麻烦
from datetime import timezone
return datetime.now(timezone.utc).replace(tzinfo=None)