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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201912061145.xB6BjRRU007191%40masaka.moolenaar.net.