]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.634 v7.3.634
authorBram Moolenaar <Bram@vim.org>
Thu, 23 Aug 2012 10:59:02 +0000 (12:59 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 23 Aug 2012 10:59:02 +0000 (12:59 +0200)
Problem:    Month/Day format for undo is confusing. (Marcin Szamotulski)
Solution:   Always use Year/Month/Day, should work for everybody.

src/undo.c
src/version.c

index ec06f3122cd5f24a83bdd1004a965ba3135d7060..db81ba0cd218fbe9bd4ad823ab3a5461bc6a9f62 100644 (file)
@@ -2880,11 +2880,8 @@ u_add_time(buf, buflen, tt)
        if (time(NULL) - tt < (60L * 60L * 12L))
            /* within 12 hours */
            (void)strftime((char *)buf, buflen, "%H:%M:%S", curtime);
-       else if (time(NULL) - tt < (60L * 60L * 24L * 180L))
-           /* within 6 months */
-           (void)strftime((char *)buf, buflen, "%m/%d %H:%M:%S", curtime);
        else
-           /* long ago */
+           /* longer ago */
            (void)strftime((char *)buf, buflen, "%Y/%m/%d %H:%M:%S", curtime);
     }
     else
index b02216a1f1b8af39a0d0ba4ed07adb534b10c51f..2fbc886e3c56fb7fc9fc3ba9946cf351b9e75cd3 100644 (file)
@@ -719,6 +719,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    634,
 /**/
     633,
 /**/