aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-16 19:29:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-16 19:29:42 +1200
commita19e427e59884f3150874f14be43c16fb7c48c43 (patch)
treeacd769bc8b134bccacbb85ddbbefe6b92b27809f
parentMore comment corrections (diff)
downloaddotfiles-a19e427e59884f3150874f14be43c16fb7c48c43.tar.gz
dotfiles-a19e427e59884f3150874f14be43c16fb7c48c43.zip
Document choice of format for PutDate()
-rw-r--r--vim/plugin/put_date.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/plugin/put_date.vim b/vim/plugin/put_date.vim
index d911486e..486171a3 100644
--- a/vim/plugin/put_date.vim
+++ b/vim/plugin/put_date.vim
@@ -2,5 +2,6 @@ if exists('loaded_put_date')
finish
endif
let loaded_put_date = 1
+let s:rfc_2822 = '%a, %d %b %Y %T %z'
command! -bar -range PutDate
- \ <line1>put =strftime('%a, %d %b %Y %T %z')
+ \ <line1>put =strftime(s:rfc_2822)