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 | |
parent | Merge branch 'release/v8.11.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-8.12.0.tar.gz (sig) dotfiles-8.12.0.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
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/autoload/html/timestamp.vim | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v8.11.0 -Mon, 13 Jan 2020 00:00:06 +0000 +tejr dotfiles v8.12.0 +Wed, 12 Feb 2020 21:06:01 +0000 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' |