mirror of
https://github.com/LearningCircuit/local-deep-research.git
synced 2026-06-16 03:51:07 +03:00
- Add sqlalchemy-utc package to handle timezone-aware datetimes - Replace DateTime(timezone=True) with UtcDateTime in benchmark models - Replace func.now() with utcnow() for proper UTC defaults - Update pre-commit hook to enforce UtcDateTime usage - Fixes timezone mismatch errors when SQLite returns naive datetimes SQLite doesn't natively support timezone-aware datetimes, causing issues when comparing timestamps. The sqlalchemy-utc package provides a TypeDecorator that automatically converts between naive and aware datetimes, ensuring consistent UTC handling across the application.