diff src/testdir/runtest.vim @ 30069:cb21745cbbab v9.0.0372

patch 9.0.0372: MS-Windows: "%T" time format does not appear to work Commit: https://github.com/vim/vim/commit/5fbbec180b623cd6ebfc9528be6fa70b4cf664d4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 3 22:08:11 2022 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Sep 2022 23:15:03 +0200
parents 72c8fbb9e242
children b01eaf122e5a
line wrap: on
line diff
--- a/src/testdir/runtest.vim
+++ b/src/testdir/runtest.vim
@@ -465,7 +465,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:
@@ -499,7 +499,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