Project

General

Profile

Actions

Task #144

open

API Test - utcnow is deprecated

Added by Sam Pearson 3 months ago. Updated 23 days ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
04/25/2026
Due date:
% Done:

0%

Estimated time:
Engineering Effort:
small
App Component:
Database
Feature:

Description

Getting this warning on a lot of tests

DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC)

Very minor refactor but at a glance it looks like there are a few dozen instances of this to fix.

Actions

Also available in: Atom PDF