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:
parent
9b4512500a
commit
b9ce83e135
@ -2880,11 +2880,8 @@ u_add_time(buf, buflen, tt)
|
|||||||
if (time(NULL) - tt < (60L * 60L * 12L))
|
if (time(NULL) - tt < (60L * 60L * 12L))
|
||||||
/* within 12 hours */
|
/* within 12 hours */
|
||||||
(void)strftime((char *)buf, buflen, "%H:%M:%S", curtime);
|
(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
|
else
|
||||||
/* long ago */
|
/* longer 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
|
else
|
||||||
|
@ -719,6 +719,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
634,
|
||||||
/**/
|
/**/
|
||||||
633,
|
633,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user