File xmoontool-22sep94-y2kfix.patch of Package xmoontool

--- xmoontool.c
+++ xmoontool.c
@@ -809,9 +809,9 @@
         sprintf(tbuf, "%2d:%02d:%02d %2d %s %d",
 		hh, mmm, ss, dd, moname [mm - 1], yy);
     } else {
-        sprintf(tbuf, "%2d:%02d:%02d %2d %s 19%d",
+        sprintf(tbuf, "%2d:%02d:%02d %2d %s %d",
 		gm->tm_hour, gm->tm_min, gm->tm_sec,
-		gm->tm_mday, moname [gm->tm_mon], gm->tm_year);
+		gm->tm_mday, moname [gm->tm_mon], 1900+gm->tm_year);
     }
     prt(2);
 
@@ -820,9 +820,9 @@
 
 	/* Local time */
 
-        sprintf(tbuf, "%2d:%02d:%02d %2d %s 19%d",
+        sprintf(tbuf, "%2d:%02d:%02d %2d %s %d",
 		gm->tm_hour, gm->tm_min, gm->tm_sec,
-		gm->tm_mday, moname [gm->tm_mon], gm->tm_year);
+		gm->tm_mday, moname [gm->tm_mon], 1900+gm->tm_year);
 	prt(3);
     }