看股功能更新
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user