diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-06 11:02:06 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-27 10:53:41 -0400 |
commit | 93e9cf4b6c24945a7fda9e624b73cf8c315994e7 (patch) | |
tree | 9e03649301c58d20ff2258b86ae0e53dce2ac8f1 /src | |
parent | 3261ba98a2c0f7644bbaf7890a3906c42cfdb807 (diff) | |
download | rneovim-93e9cf4b6c24945a7fda9e624b73cf8c315994e7.tar.gz rneovim-93e9cf4b6c24945a7fda9e624b73cf8c315994e7.tar.bz2 rneovim-93e9cf4b6c24945a7fda9e624b73cf8c315994e7.zip |
vim-patch:8.1.2398: strptime() test fails on Japanese Mac
Problem: strptime() test fails on Japanese Mac.
Solution: Use %T instead of %X.
https://github.com/vim/vim/commit/9a838fe543b69582b0773f7c38a57f16fb32d765
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_functions.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim index 5efd27d016..ea75aec52c 100644 --- a/src/nvim/testdir/test_functions.vim +++ b/src/nvim/testdir/test_functions.vim @@ -223,7 +223,7 @@ func Test_strptime() endif let $TZ = 'UTC' - call assert_equal(1484653763, strptime('%Y-%m-%d %X', '2017-01-17 11:49:23')) + 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:') |