mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.1.2398: strptime() test fails on Japanese Mac
Problem: strptime() test fails on Japanese Mac.
Solution: Use %T instead of %X.
9a838fe543
This commit is contained in:
parent
3261ba98a2
commit
93e9cf4b6c
@ -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:')
|
||||
|
Loading…
Reference in New Issue
Block a user