Fix date format in vim blame info
This commit is contained in:
parent
1d578f7e5e
commit
e0a514d89c
1 changed files with 2 additions and 2 deletions
|
@ -174,8 +174,8 @@ function s:split_blame_entry(idx, entry)
|
||||||
let l:map[l:pair[:l:split-1]] = l:pair[l:split+1:]
|
let l:map[l:pair[:l:split-1]] = l:pair[l:split+1:]
|
||||||
endfor
|
endfor
|
||||||
let l:map["commit"]=a:entry[:match(a:entry, " ")-1]
|
let l:map["commit"]=a:entry[:match(a:entry, " ")-1]
|
||||||
let l:map["time"]=strftime("%Y-%d-%m %H:%M:%S", l:map["committer-time"])
|
let l:map["time"]=strftime("%Y-%m-%d %H:%M:%S", l:map["committer-time"])
|
||||||
let l:map["date"]=strftime("%Y-%d-%m", l:map["committer-time"])
|
let l:map["date"]=strftime("%Y-%m-%d", l:map["committer-time"])
|
||||||
if l:map["author"]=="Not Committed Yet"
|
if l:map["author"]=="Not Committed Yet"
|
||||||
let l:map["short"]="(Uncommitted)"
|
let l:map["short"]="(Uncommitted)"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue