Mailing List Archive

bpo-43869: Improve epoch docs (GH-25777)
https://github.com/python/cpython/commit/ff7703c4b609a697ada8165fd1c52a73404b6d07
commit: ff7703c4b609a697ada8165fd1c52a73404b6d07
branch: main
author: Miguel Brito <5544985+miguendes@users.noreply.github.com>
committer: vstinner <vstinner@python.org>
date: 2022-01-18T16:55:16+01:00
summary:

bpo-43869: Improve epoch docs (GH-25777)

files:
M Doc/library/time.rst

diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 6540932eecbaa..3a771208519b4 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -22,7 +22,7 @@ An explanation of some terminology and conventions is in order.
.. index:: single: epoch

* The :dfn:`epoch` is the point where the time starts, and is platform
- dependent. For Unix, the epoch is January 1, 1970, 00:00:00 (UTC).
+ dependent. For Unix and Windows, the epoch is January 1, 1970, 00:00:00 (UTC).
To find out what the epoch is on a given platform, look at
``time.gmtime(0)``.


_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins