Add versionadded for format_dt

This commit is contained in:
Rapptz 2021-06-28 03:36:16 -04:00
parent 3c5c5fc274
commit 2ce44f7bd6

View File

@ -975,6 +975,8 @@ def format_dt(dt: datetime.datetime, /, style: Optional[TimestampStyle] = None)
Note that the exact output depends on the user's locale setting in the client. The example output
presented is using the ``en-GB`` locale.
.. versionadded:: 2.0
Parameters
-----------
dt: :class:`datetime.datetime`