[vim/vim] strptime() is reported as unknown function (#6573)

15 views
Skip to first unread message

lkintact

unread,
Jul 30, 2020, 4:32:06 AM7/30/20
to vim/vim, Subscribed

To Reproduce

  1. Run gvim --cmd "language messages English" --clean
  2. Execute :echo strptime("%Y %b %d %X", "1997 Apr 27 11:49:23") (the first example at :help strptime())
  3. Gvim displays an E117: Unknown function: strptime error.

Expected behavior
862156163 should be echoed.

Environment

  • Vim version 8.2.1313
  • OS: Windows 10 Home 1803
  • Terminal: GUI.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

K.Takata

unread,
Jul 30, 2020, 4:39:04 AM7/30/20
to vim/vim, Subscribed

It isn't implemented on Windows, because MSVC doesn't provide strptime.

lkintact

unread,
Jul 30, 2020, 4:57:49 AM7/30/20
to vim/vim, Subscribed

@k-takata I see, thank you.

lkintact

unread,
Sep 3, 2020, 9:23:26 AM9/3/20
to vim/vim, Subscribed

@k-takata I think since it solely depends on MSCV, the issue can be closed? Please reopen if you disagree.

lkintact

unread,
Sep 3, 2020, 9:23:28 AM9/3/20
to vim/vim, Subscribed

Closed #6573.

mattn

unread,
Apr 26, 2026, 1:36:10 PM (2 days ago) Apr 26
to vim/vim, Subscribed
mattn left a comment (vim/vim#6573)

Added in 036e40e


Reply to this email directly, view it on GitHub, or unsubscribe.

Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/6573/4322603035@github.com>

lkintact

unread,
Apr 27, 2026, 7:18:26 PM (18 hours ago) Apr 27
to vim/vim, Subscribed
lkintact left a comment (vim/vim#6573)

Thanks for letting know, @mattn!


Reply to this email directly, view it on GitHub, or unsubscribe.

Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/6573/4331151185@github.com>

Reply all
Reply to author
Forward
0 new messages