Patch 8.1.2398
Problem: strptime() test fails on Japanese Mac.
Solution: Use %T instead of %X.
Files: src/testdir/test_functions.vim
*** ../vim-8.1.2397/src/testdir/test_functions.vim 2019-11-21 15:36:00.245478796 +0100
--- src/testdir/test_functions.vim 2019-12-06 12:39:44.570026188 +0100
***************
*** 231,237 ****
endif
let $TZ = 'UTC'
! call assert_equal(1484653763, strptime('%Y-%m-%d %X', '2017-01-17 11:49:23'))
call assert_fails('call strptime()', 'E119:')
call assert_fails('call strptime("xxx")', 'E119:')
--- 231,237 ----
endif
let $TZ = 'UTC'
! call assert_equal(1484653763, strptime('%Y-%m-%d %T', '2017-01-17 11:49:23'))
call assert_fails('call strptime()', 'E119:')
call assert_fails('call strptime("xxx")', 'E119:')
*** ../vim-8.1.2397/src/version.c 2019-12-05 23:07:02.881858936 +0100
--- src/version.c 2019-12-06 12:42:00.369452572 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 2398,
/**/
--
Some of the well known MS-Windows errors:
ETIME Wrong time, wait a little while
ECRASH Try again...
EDETECT Unable to detect errors
EOVER You lost! Play another game?
ENOCLUE Eh, what did you want?
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///