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 #1

Updated by Sam Pearson 23 days ago

  • Priority changed from Normal to Low
  • Engineering Effort set to small
  • App Component set to Database

Probably pretty easy to swap these out; marking it as small effort.

Actions

Also available in: Atom PDF