I need to parse some dates, so I imported SRFI-19
When trying to use it it errored with bad day, so I looked at the format
It kept saying bad day, so I started testing... and uhh...
Am I doing something wrong?
stklos> (string->date (date->string (current-date) "~5") "~5")
**** Error:
check: bad day #f
stklos> (string->date (date->string (current-date) "~1") "~1")
**** Error:
check: bad day #f
(type ",help" for more information)
stklos> (string->date (date->string (current-date) "~2") "~2")
**** Error:
check: bad day #f
(type ",help" for more information)
stklos> (string->date (date->string (current-date) "~Y") "~Y")
**** Error:
check: bad day #f
(type ",help" for more information)
stklos> (string->date (date->string (current-date) "~s") "~s")
**** Error:
check: bad day #f
(type ",help" for more information)
stklos> (string->date (date->string (current-date) "1") "1")
**** Error:
check: bad day #f
(type ",help" for more information)
stklos> (string->date (date->string (current-date) "") "")
**** Error:
check: bad day #f
(type ",help" for more information)
I need to parse some dates, so I imported SRFI-19
When trying to use it it errored with bad day, so I looked at the format
It kept saying bad day, so I started testing... and uhh...
Am I doing something wrong?