From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 9 May 2025 19:06:49 +0000 (+0200) Subject: [3.14] Update HTTP links in the _pydatetime docstrings (GH-133025) (GH-133781) X-Git-Tag: v3.14.0b2~199 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da41ce6b697a7eb6c9a527d8b466c606efe70d41;p=thirdparty%2FPython%2Fcpython.git [3.14] Update HTTP links in the _pydatetime docstrings (GH-133025) (GH-133781) (cherry picked from commit aed28eb5a0c55e246ad24e34dc2be0d9dccb8bf0) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> --- diff --git a/Lib/_pydatetime.py b/Lib/_pydatetime.py index e3db1b52b115..f11eaa50e016 100644 --- a/Lib/_pydatetime.py +++ b/Lib/_pydatetime.py @@ -1127,8 +1127,8 @@ class date: This is 'YYYY-MM-DD'. References: - - http://www.w3.org/TR/NOTE-datetime - - http://www.cl.cam.ac.uk/~mgk25/iso-time.html + - https://www.w3.org/TR/NOTE-datetime + - https://www.cl.cam.ac.uk/~mgk25/iso-time.html """ return "%04d-%02d-%02d" % (self._year, self._month, self._day) @@ -1262,7 +1262,7 @@ class date: The first week is 1; Monday is 1 ... Sunday is 7. ISO calendar algorithm taken from - http://www.phys.uu.nl/~vgent/calendar/isocalendar.htm + https://www.phys.uu.nl/~vgent/calendar/isocalendar.htm (used with permission) """ year = self._year