changeset 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 f016c3708ae3
children 3ea3dcbf2cd6
files src/undo.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
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
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    107,
+/**/
     106,
 /**/
     105,