mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.0372: MS-Windows: "%T" time format does not appear to work
Problem: MS-Windows: "%T" time format does not appear to work.
Solution: Use "%H:%M:%S" instead.
5fbbec180b
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
db6812c444
commit
c4c5bcd2b2
@ -434,7 +434,7 @@ for g:testfunc in sort(s:tests)
|
||||
" A test can set g:test_is_flaky to retry running the test.
|
||||
let g:test_is_flaky = 0
|
||||
|
||||
let starttime = strftime("%T")
|
||||
let starttime = strftime("%H:%M:%S")
|
||||
call RunTheTest(g:testfunc)
|
||||
|
||||
" Repeat a flaky test. Give up when:
|
||||
@ -469,7 +469,7 @@ for g:testfunc in sort(s:tests)
|
||||
let v:errors = []
|
||||
let g:run_nr += 1
|
||||
|
||||
let starttime = strftime("%T")
|
||||
let starttime = strftime("%H:%M:%S")
|
||||
call RunTheTest(g:testfunc)
|
||||
|
||||
if len(v:errors) == 0
|
||||
|
@ -113,7 +113,7 @@ func RunServer(cmd, testfunc, args)
|
||||
" Wait for some time for the port number to be there.
|
||||
let port = GetPort()
|
||||
if port == 0
|
||||
call assert_report(strftime("%T") .. " Can't start " .. a:cmd)
|
||||
call assert_report(strftime("%H:%M:%S") .. " Can't start " .. a:cmd)
|
||||
return
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user