commit | 5e3d6ca435321c82b3e97e536549a30dc3580e17 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jan 22 21:25:11 2011 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jan 22 21:25:11 2011 +0100 |
tree | 4b67333c75e495edc035c6717a9ee4a26505688f | |
parent | f3d419d719202a0d7320f200356590c6d85871e2 [diff] [blame] |
updated for version 7.3.107 Problem: Year number for :undolist can be confused with month or day. Solution: Change "%y" to "%Y".
diff --git a/src/undo.c b/src/undo.c index af91bd3..998f3f3 100644 --- a/src/undo.c +++ b/src/undo.c
@@ -2884,7 +2884,7 @@ (void)strftime((char *)buf, buflen, "%m/%d %H:%M:%S", curtime); else /* long 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 #endif