diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-02-13 10:06:05 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-02-13 10:06:05 +1300 |
commit | 40f5f02f13018f7fdc52791db2874af2d0cc04db (patch) | |
tree | 466b6c6b0605747aede06b8aab2ba8fd46d51a9e /vim/autoload/html/timestamp.vim | |
parent | Merge branch 'release/v8.11.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-40f5f02f13018f7fdc52791db2874af2d0cc04db.tar.gz dotfiles-40f5f02f13018f7fdc52791db2874af2d0cc04db.zip |
Merge branch 'release/v8.12.0'v8.12.0
* release/v8.12.0:
Update pattern to match for HTML timestamps
Remove milliseconds from HTML timestamps
Diffstat (limited to 'vim/autoload/html/timestamp.vim')
-rw-r--r-- | vim/autoload/html/timestamp.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/autoload/html/timestamp.vim b/vim/autoload/html/timestamp.vim index ad79ad23..9de19aa0 100644 --- a/vim/autoload/html/timestamp.vim +++ b/vim/autoload/html/timestamp.vim @@ -1,7 +1,7 @@ " Keys and date formats for return value of s:Timestamp() let s:formats = { \ 'human': '%a, %d %b %Y %T %Z', - \ 'machine': '%Y-%m-%dT%H:%M:%S.000Z', + \ 'machine': '%Y-%m-%dT%H:%M:%SZ', \} " Get UTC timestamp string dictionary with layout in s:formats @@ -34,7 +34,7 @@ function! s:Timestamp(time) abort endfunction " Define timestamp prefix string -let s:prefix = 'Last updated: ' +let s:prefix = '<strong>Last updated:</strong> ' " Define pattern to match date timestamps; no ZALGO, please let s:pattern = '\m\C' |