diff options
| author | Rapptz <[email protected]> | 2021-06-28 03:36:16 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-28 03:36:16 -0400 |
| commit | 2ce44f7bd6b2b25f2aeb962a7e8b425ba7040af2 (patch) | |
| tree | bea1e75216c02ff6d88bb81607a5ea22c2ab3df5 | |
| parent | Update documentation in voice_client.py (diff) | |
| download | discord.py-2ce44f7bd6b2b25f2aeb962a7e8b425ba7040af2.tar.xz discord.py-2ce44f7bd6b2b25f2aeb962a7e8b425ba7040af2.zip | |
Add versionadded for format_dt
| -rw-r--r-- | discord/utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/utils.py b/discord/utils.py index 7c088b4f..80aa4b89 100644 --- a/discord/utils.py +++ b/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 presented is using the ``en-GB`` locale. + .. versionadded:: 2.0 + Parameters ----------- dt: :class:`datetime.datetime` |