Browse Source

Add versionadded for format_dt

pull/7123/head
Rapptz 4 years ago
parent
commit
2ce44f7bd6
  1. 2
      discord/utils.py

2
discord/utils.py

@ -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…
Cancel
Save