aiogram/CHANGES
Alex Root Junior 6eb5ef2606
Replace datetime.datetime with DateTime across codebase (#1285)
* #1277  Replace datetime.datetime with DateTime across codebase

Replaced all instances of standard library 'datetime.datetime' with a new 'DateTime' type from `.custom` module. This change is necessary to make all date-time values compatible with the Telegram Bot API (it uses Unix time). This will simplify the conversion process and eliminate potential errors related to date-time format mismatches. Changed codebase, butcher files, and modified 'pyproject.toml' to shift the typing-extensions dependency. The 'aiogram/custom_types.py' file was renamed to 'aiogram/types/custom.py' to better reflect its nature as a location for custom types used in the aiogram library.
2023-08-27 17:09:56 +03:00
..
.template.rst.jinja2 Update towncrier config 2021-08-03 23:50:10 +03:00
1277.bugfix.rst Replace datetime.datetime with DateTime across codebase (#1285) 2023-08-27 17:09:56 +03:00
1281.bugfix.rst #1281 Fix magic operation .as_ for values interpreted as False (#1283) 2023-08-26 22:33:32 +03:00
1282.bugfix.rst Fix markdown italic quote (#1282) 2023-08-26 22:31:30 +03:00
1284.bugfix.rst Fixed method :code:Message.send_copy for stickers (#1284) 2023-08-26 23:24:51 +03:00