0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.3.634

Problem:    Month/Day format for undo is confusing. (Marcin Szamotulski)
Solution:   Always use Year/Month/Day, should work for everybody.
This commit is contained in:
Bram Moolenaar 2012-08-23 12:59:02 +02:00
parent 9b4512500a
commit b9ce83e135
2 changed files with 3 additions and 4 deletions

View 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

View File

@ -719,6 +719,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
634,
/**/
633,
/**/