FIX: Update datetimeutcnow to new syntax to fix depreciation warning.
- Apr 11, 2024
-
-
Zachary Sherman authored
-
Zachary Sherman authored
-
datetime updated their syntax to use timezone-aware objects to represent datetimes in UTC. This is fixed by calling .now instead of utcnow and providing the UTC object in the now function call.