Issue #1777412: extended year range of strftime down to 1000.
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 94265c6..5732f15 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -471,9 +471,9 @@
         return NULL;
 
     /* XXX: Reportedly, some systems have issues formating dates prior to year
-     * 1900.  These systems should be identified and this check should be
+     * 1000.  These systems should be identified and this check should be
      * moved to appropriate system specific section below. */
-    if (buf.tm_year < 0) {
+    if (buf.tm_year < -900) {
         PyErr_Format(PyExc_ValueError, "year=%d is before 1900; "
                      "the strftime() method requires year >= 1900",
                      buf.tm_year + 1900);