diff --git a/backend/funix/app/__init__.py b/backend/funix/app/__init__.py index aa6e837..c106892 100644 --- a/backend/funix/app/__init__.py +++ b/backend/funix/app/__init__.py @@ -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 @@ -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, }