commit c40438d588a1de08611430ef63efe79e1e3edc52
parent 6ca6ff8d53ce34cbc8a714ef172fbe34c96ca82d
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/vimrc b/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()