Update HTTP links in the _pydatetime docstrings (GH-133025)

This commit is contained in:
Stan Ulbrych 2025-05-09 19:38:37 +01:00 committed by GitHub
parent 74f897e25e
commit aed28eb5a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1127,8 +1127,8 @@ class date:
This is 'YYYY-MM-DD'. This is 'YYYY-MM-DD'.
References: References:
- http://www.w3.org/TR/NOTE-datetime - https://www.w3.org/TR/NOTE-datetime
- http://www.cl.cam.ac.uk/~mgk25/iso-time.html - https://www.cl.cam.ac.uk/~mgk25/iso-time.html
""" """
return "%04d-%02d-%02d" % (self._year, self._month, self._day) 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. The first week is 1; Monday is 1 ... Sunday is 7.
ISO calendar algorithm taken from 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) (used with permission)
""" """
year = self._year year = self._year