mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
[3.14] Update HTTP links in the _pydatetime docstrings (GH-133025) (GH-133781)
(cherry picked from commit aed28eb5a0)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
This commit is contained in:
parent
359696f031
commit
da41ce6b69
1 changed files with 3 additions and 3 deletions
|
|
@ -1127,8 +1127,8 @@ def isoformat(self):
|
|||
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 @@ def isocalendar(self):
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue