mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
patch 8.1.2398: strptime() test fails on Japanese Mac
Problem: strptime() test fails on Japanese Mac. Solution: Use %T instead of %X.
This commit is contained in:
parent
e7dd0deb3c
commit
9a838fe543
@ -231,7 +231,7 @@ func Test_strptime()
|
|||||||
endif
|
endif
|
||||||
let $TZ = 'UTC'
|
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()', 'E119:')
|
||||||
call assert_fails('call strptime("xxx")', 'E119:')
|
call assert_fails('call strptime("xxx")', 'E119:')
|
||||||
|
@ -742,6 +742,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2398,
|
||||||
/**/
|
/**/
|
||||||
2397,
|
2397,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user