Skip to content

Commit

Permalink
fix: replace UTC with timezone
Browse files Browse the repository at this point in the history
  • Loading branch information
Yazawazi committed Dec 23, 2023
1 parent 4cb875c commit 4ef833c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/funix/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import json
import os
import re
from datetime import datetime, UTC
from datetime import datetime, timezone
from secrets import token_hex

from flask import Flask, Response, abort, request
Expand Down Expand Up @@ -87,7 +87,7 @@ def funix_logger(response: Response) -> Response:
),
[
{
"time": datetime.now(UTC).isoformat(),
"time": datetime.now(timezone.utc).isoformat(),
"req": dumped_req,
"resp": dumped_resp,
}
Expand Down

0 comments on commit 4ef833c

Please sign in to comment.