forked from Pavel_Durov/python_bot
fix
This commit is contained in:
parent
804bea284a
commit
63b5d0809b
2
bot.py
2
bot.py
@ -17,7 +17,7 @@ dp = Dispatcher(bot)
|
||||
@dp.message_handler(commands=["time"])
|
||||
async def send_time(message: types.Message):
|
||||
cd = datetime.datetime.now().strftime("%d/%m/%Y")
|
||||
ct = datetime.datetime.now().strftime('%H:%M')
|
||||
ct = datetime.datetime.now()
|
||||
ct = ct+datetime.timedelta(hours=14)
|
||||
ct2 = ct.strftime('%H:%M')
|
||||
# new_year = datetime.date(2022, 12, 31)
|
||||
|
Loading…
Reference in New Issue
Block a user