patch 9.0.0372: MS-Windows: "%T" time format does not appear to work v9.0.0372
authorBram Moolenaar <Bram@vim.org>
Sat, 3 Sep 2022 21:08:11 +0000 (22:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 3 Sep 2022 21:08:11 +0000 (22:08 +0100)
Problem:    MS-Windows: "%T" time format does not appear to work.
Solution:   Use "%H:%M:%S" instead.

src/testdir/runtest.vim
src/testdir/shared.vim
src/version.c

index 91977c9491309b1b6351c81664924bc7124a0c5c..72a8f989f81b9e59186dd192a5700187656134f6 100644 (file)
@@ -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
index 72cf8368cf2aa41a97e8d2e42855985780a14ca8..09d942f9a6505518787b802a7af73cd9cda7cd55 100644 (file)
@@ -101,7 +101,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
 
index d916059410e7f9f99c329275e2e986954d452817..0209280f03dd0cd636b896ae59fb4727f641d5f0 100644 (file)
@@ -707,6 +707,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    372,
 /**/
     371,
 /**/