Re: [Chicken-users] BUG: posix#string-time

2012-11-03 Thread Jim Ursetto
It uses strptime internally which seems pretty inconsistent across platforms. %z is technically not a valid format specifier, but glibc and some other libs support it. E.g. your examples actually all work on OS X 10.7. But they fail completely on NetBSD 5.1. You didn't mention your platform

[Chicken-users] BUG: posix#string-time

2012-11-02 Thread Andy Bennett
Hi, string-time from the posix egg doesn't seem to be able to parse timezones with an offset greater than 12 hours from UTC: - #;63 (define x (cut string-time %a, %d %b %Y %H:%M:%S %z)) #;64 (x Fri, 02 Nov 2012 04:12:23 -1300) #f #;65 (x Fri, 02 Nov 2012 04:12:23 -1200) #(23 12 4 2 10 112 5