diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-08 20:47:21 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-08 20:47:21 (GMT) |
commit | 2997837158d4715749632f4edbdf690ba619dc85 (patch) | |
tree | ee5763877eeccc50fb7f770985d8ccd26107e353 /Doc/library/datetime.rst | |
parent | 3ec899fc0d9b3f233e3d449576ed3486bcb3e238 (diff) | |
download | cpython-2997837158d4715749632f4edbdf690ba619dc85.zip cpython-2997837158d4715749632f4edbdf690ba619dc85.tar.gz cpython-2997837158d4715749632f4edbdf690ba619dc85.tar.bz2 |
Fixed documentation to reflect recent changes for years < 1900.
Diffstat (limited to 'Doc/library/datetime.rst')
-rw-r--r-- | Doc/library/datetime.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index b9adbcc..cad0eb4 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -1661,8 +1661,12 @@ version) requires, and these work on all platforms with a standard C implementation. Note that the 1999 version of the C standard added additional format codes. -The exact range of years for which :meth:`strftime` works also varies across -platforms. Regardless of platform, years before 1900 cannot be used. +The exact range of years for which :meth:`strftime` works also varies +across platforms. Regardless of platform, years before 1000 cannot be +used with ``datetime`` module ``strftime()`` methods. The ``time`` +module ``strftime()`` function exibit different behavior depending on +the value of ``time.accept2dyear`` variable. See :ref:`Year 2000 +(Y2K) issues <time-y2kissues>` for details. +-----------+--------------------------------+-------+ | Directive | Meaning | Notes | |