aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-06 11:02:06 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-03-27 10:53:41 -0400
commit93e9cf4b6c24945a7fda9e624b73cf8c315994e7 (patch)
tree9e03649301c58d20ff2258b86ae0e53dce2ac8f1 /src
parent3261ba98a2c0f7644bbaf7890a3906c42cfdb807 (diff)
downloadrneovim-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.vim2
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:')