2019年11月21日木曜日 23時37分11秒 UTC+9 Bram Moolenaar: > > > Patch 8.1.2326 > Problem: Cannot parse a date/time string. > Solution: Add strptime(). (Stephen Wall, closes #) > > *** ../vim-8.1.2325/src/testdir/test_functions.vim 2019-11-16 > 18:21:57.990848019 +0100 > --- src/testdir/test_functions.vim 2019-11-21 14:55:38.525894449 > +0100 > *** 222,228 **** > --- 221,248 ---- > (snip) > + call assert_equal(1484653763, strptime('%Y-%m-%d %X', '2017-01-17 > 11:49:23')) >
This fails on macOS with Japanese locale because the format %X is locale dependent. Please use '%Y-%m-%d %H:%M:%S' instead. > > -- -- 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 vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/cfff3692-77eb-40c3-8c06-c8f7e45afd5a%40googlegroups.com.