Skip to content

Commit

Permalink
updated for version 7.3.634
Browse files Browse the repository at this point in the history
Problem:    Month/Day format for undo is confusing. (Marcin Szamotulski)
Solution:   Always use Year/Month/Day, should work for everybody.
  • Loading branch information
brammool committed Aug 23, 2012
1 parent 7b671a2 commit eb1c530
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions src/undo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
634,
/**/
633,
/**/
Expand Down

0 comments on commit eb1c530

Please sign in to comment.