racket / srfi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

From srfi/19, string->date internally fails on certain inputs

lexi-lambda opened this issue · comments

Reported by Jordan Johnson via the users mailing list here. It seems that string->date fails in some way when parsing certain format strings.

(require srfi/19)
(string->date "Sun, 02 Feb 2015" "~a, ~d ~b ~Y")
result arity mismatch;
expected number of values not received
 expected: 1
 received: 0
 values...:

Thanks, I've pushed the linked commit.