Be more picky about symbolic time zones, and accept either a symbolic
[mmh] / sbr / dtime.c
index 57b61c8..3a37fe3 100644 (file)
@@ -412,8 +412,11 @@ dmktime (struct tws *tw)
     year = tw->tw_year;
 
     result = 0;
-    if (year < 100)
-       year += 1900;
+    if (year < 1970)
+      year += 1900;
+
+    if (year < 1970)
+      year += 100;
 
     for (i = 1970; i < year; i++)
        result += dysize (i);