summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-01-22 21:25:11 +0100
committerBram Moolenaar <Bram@vim.org>2011-01-22 21:25:11 +0100
commit5e3d6ca435321c82b3e97e536549a30dc3580e17 (patch)
tree4b67333c75e495edc035c6717a9ee4a26505688f /src/undo.c
parentf3d419d719202a0d7320f200356590c6d85871e2 (diff)
downloadvim-git-5e3d6ca435321c82b3e97e536549a30dc3580e17.tar.gz
updated for version 7.3.107v7.3.107
Problem: Year number for :undolist can be confused with month or day. Solution: Change "%y" to "%Y".
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index af91bd3cd..998f3f3ae 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -2884,7 +2884,7 @@ u_add_time(buf, buflen, tt)
(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