#66 date->string failing

closed-rejected
nobody
run-time (53)
5
2002-03-19
2002-03-19
Eric Marsden
No

% scsh
Welcome to scsh 0.6.1 (Combinatorial Algorithms) [beta
3]
Type ,? for help.
> (date->string (make-date 1 1 1 1 1 102))
Error: exception
wrong-type-argument
(call-external-value "format_date" #f)

Discussion

  • Logged In: YES
    user_id=17553

    You cannot apply date->string to dates that were created by
    the default arguments of make-date. As the manual points
    out, such dates are useful when passed to time. It seems
    like they are not useful as parameters for date->string.

    Maybe the manual should be more explicit about this.

     
    • status: open --> closed-rejected