diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 19:29:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 19:29:42 +1200 |
commit | a19e427e59884f3150874f14be43c16fb7c48c43 (patch) | |
tree | acd769bc8b134bccacbb85ddbbefe6b92b27809f | |
parent | More comment corrections (diff) | |
download | dotfiles-a19e427e59884f3150874f14be43c16fb7c48c43.tar.gz dotfiles-a19e427e59884f3150874f14be43c16fb7c48c43.zip |
Document choice of format for PutDate()
-rw-r--r-- | vim/plugin/put_date.vim | 3 |
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) |