Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
529bdbdd83 Address review feedback: Improve UTC compatibility implementation
- Enhance datetime_compat.py documentation
- Add edge case tests for UTC timezone handling
- Update mock patching in tests
- Fix utcnow usage in sqlite.py

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-20 02:00:38 +00:00
Devin AI
c6ed4eaaf6 Fix Python 3.10 compatibility: Replace datetime.UTC with timezone.utc
- Created datetime_compat module to provide UTC constant using timezone.utc
- Updated all direct UTC imports to use compatibility module
- Added tests to verify UTC timezone compatibility
- Fixes #2171

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-02-20 01:50:08 +00:00