diff src/undo.c @ 2689:26fb122355d4 v7.3.107

updated for version 7.3.107 Problem: Year number for :undolist can be confused with month or day. Solution: Change "%y" to "%Y".
author Bram Moolenaar <bram@vim.org>
date Sat, 22 Jan 2011 21:25:11 +0100
parents 862d920800b1
children 972bd3fca556
line wrap: on
line diff
--- a/src/undo.c
+++ b/src/undo.c
@@ -2884,7 +2884,7 @@ u_add_time(buf, buflen, tt)
 	    (void)strftime((char *)buf, buflen, "%m/%d %H:%M:%S", curtime);
 	else
 	    /* long ago */
-	    (void)strftime((char *)buf, buflen, "%y/%m/%d %H:%M:%S", curtime);
+	    (void)strftime((char *)buf, buflen, "%Y/%m/%d %H:%M:%S", curtime);
     }
     else
 #endif