From 2ce44f7bd6b2b25f2aeb962a7e8b425ba7040af2 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 28 Jun 2021 03:36:16 -0400 Subject: [PATCH] Add versionadded for format_dt --- discord/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/utils.py b/discord/utils.py index 7c088b4fe..80aa4b894 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`