mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +00:00
Add versionadded for format_dt
This commit is contained in:
parent
3c5c5fc274
commit
2ce44f7bd6
@ -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
|
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.
|
presented is using the ``en-GB`` locale.
|
||||||
|
|
||||||
|
.. versionadded:: 2.0
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
-----------
|
-----------
|
||||||
dt: :class:`datetime.datetime`
|
dt: :class:`datetime.datetime`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user