Permalink
Browse files

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.
  • Loading branch information...
1 parent 7b671a2 commit eb1c53093d7b5071c32564845d4f9547bf868f00 @brammool brammool committed Aug 23, 2012
Showing with 3 additions and 4 deletions.
  1. +1 −4 src/undo.c
  2. +2 −0 src/version.c
View
5 src/undo.c
@@ -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
2 src/version.c
@@ -720,6 +720,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 634,
+/**/
633,
/**/
632,

0 comments on commit eb1c530

Please sign in to comment.