commit 6af454e1acdf740aca5642950e2069989338a24a
parent 848cd54650c1560794b11826a4668dff7eac3408
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 29 May 2020 10:01:49 -0700
Use %Y-%m-%d rather than %Y-%M-%d for dates
%m is months, whereas %M is minutes.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.vim/vimrc b/.vim/vimrc
@@ -166,7 +166,7 @@ endif
" Functions
" Insert the current date in '2020-04-22 (Thu)' format
-nnoremap <Leader>cd i<C-R>=strftime('%Y-%M-%d (%a)')<CR><Esc>
+nnoremap <Leader>cd i<C-R>=strftime('%Y-%m-%d (%a)')<CR><Esc>
" Apply clang-format to a range of lines (or all)
function ClangFormat()