|
Karsten Hopp |
527e55 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
527e55 |
Subject: Patch 7.3.634
|
|
Karsten Hopp |
527e55 |
Fcc: outbox
|
|
Karsten Hopp |
527e55 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
527e55 |
Mime-Version: 1.0
|
|
Karsten Hopp |
527e55 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
527e55 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
527e55 |
------------
|
|
Karsten Hopp |
527e55 |
|
|
Karsten Hopp |
527e55 |
Patch 7.3.634
|
|
Karsten Hopp |
527e55 |
Problem: Month/Day format for undo is confusing. (Marcin Szamotulski)
|
|
Karsten Hopp |
527e55 |
Solution: Always use Year/Month/Day, should work for everybody.
|
|
Karsten Hopp |
527e55 |
Files: src/undo.c
|
|
Karsten Hopp |
527e55 |
|
|
Karsten Hopp |
527e55 |
|
|
Karsten Hopp |
527e55 |
*** ../vim-7.3.633/src/undo.c 2012-06-01 13:46:06.000000000 +0200
|
|
Karsten Hopp |
527e55 |
--- src/undo.c 2012-08-23 12:43:24.000000000 +0200
|
|
Karsten Hopp |
527e55 |
***************
|
|
Karsten Hopp |
527e55 |
*** 2880,2890 ****
|
|
Karsten Hopp |
527e55 |
if (time(NULL) - tt < (60L * 60L * 12L))
|
|
Karsten Hopp |
527e55 |
/* within 12 hours */
|
|
Karsten Hopp |
527e55 |
(void)strftime((char *)buf, buflen, "%H:%M:%S", curtime);
|
|
Karsten Hopp |
527e55 |
- else if (time(NULL) - tt < (60L * 60L * 24L * 180L))
|
|
Karsten Hopp |
527e55 |
- /* within 6 months */
|
|
Karsten Hopp |
527e55 |
- (void)strftime((char *)buf, buflen, "%m/%d %H:%M:%S", curtime);
|
|
Karsten Hopp |
527e55 |
else
|
|
Karsten Hopp |
527e55 |
! /* long ago */
|
|
Karsten Hopp |
527e55 |
(void)strftime((char *)buf, buflen, "%Y/%m/%d %H:%M:%S", curtime);
|
|
Karsten Hopp |
527e55 |
}
|
|
Karsten Hopp |
527e55 |
else
|
|
Karsten Hopp |
527e55 |
--- 2880,2887 ----
|
|
Karsten Hopp |
527e55 |
if (time(NULL) - tt < (60L * 60L * 12L))
|
|
Karsten Hopp |
527e55 |
/* within 12 hours */
|
|
Karsten Hopp |
527e55 |
(void)strftime((char *)buf, buflen, "%H:%M:%S", curtime);
|
|
Karsten Hopp |
527e55 |
else
|
|
Karsten Hopp |
527e55 |
! /* longer ago */
|
|
Karsten Hopp |
527e55 |
(void)strftime((char *)buf, buflen, "%Y/%m/%d %H:%M:%S", curtime);
|
|
Karsten Hopp |
527e55 |
}
|
|
Karsten Hopp |
527e55 |
else
|
|
Karsten Hopp |
527e55 |
*** ../vim-7.3.633/src/version.c 2012-08-15 17:26:53.000000000 +0200
|
|
Karsten Hopp |
527e55 |
--- src/version.c 2012-08-23 12:58:36.000000000 +0200
|
|
Karsten Hopp |
527e55 |
***************
|
|
Karsten Hopp |
527e55 |
*** 721,722 ****
|
|
Karsten Hopp |
527e55 |
--- 721,724 ----
|
|
Karsten Hopp |
527e55 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
527e55 |
+ /**/
|
|
Karsten Hopp |
527e55 |
+ 634,
|
|
Karsten Hopp |
527e55 |
/**/
|
|
Karsten Hopp |
527e55 |
|
|
Karsten Hopp |
527e55 |
--
|
|
Karsten Hopp |
527e55 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
527e55 |
10E. You start counting in hex.
|
|
Karsten Hopp |
527e55 |
|
|
Karsten Hopp |
527e55 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
527e55 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
527e55 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
527e55 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|