We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0015f4 commit f115e5aCopy full SHA for f115e5a
requirements.txt
@@ -2,5 +2,4 @@ matplotlib>=3.5.3
2
python-dotenv>=1.0.1
3
python-telegram-bot>=21.1.1
4
python-telegram-bot[job-queue]
5
-pytz>=2024.1
6
yfinance>=0.2.38
tfinance/config.py
@@ -1,6 +1,6 @@
1
import os
+from zoneinfo import ZoneInfo
-import pytz
from dotenv import load_dotenv
load_dotenv()
@@ -9,4 +9,4 @@
9
BOT_TOKEN = os.getenv("BOT_TOKEN")
10
DATABASE_NAME = os.getenv("DATABASE_NAME")
11
12
-TIMEZONE = pytz.timezone("Europe/Moscow")
+TIMEZONE = ZoneInfo("Europe/Moscow")
0 commit comments