p.s. I'm stuck on parsing one pattern that comes up in my data. Here's a corresponding test:
(parameterize ([current-locale "en"]) (check-equal? (parse-datetime "Sun, 21 Jun 2015 17:50:44 -0500 (CDT)" "EEE, dd MMM yyyy HH:mm:ss xxxx (zzzz)") (datetime 2015 6 21 17 50 44))) that fails with ../../../../../Library/Racket/7.6/pkgs/gregor-lib/gregor/private/pattern/ast/zone.rkt:40:2: match: no matching clause for (Zone ... 'offset-name 'long) I'm looking at the source code but am not quite sure. Are zone descriptors such as CDT supported? (I also tried (zzz), but it also fails with no matching clause for (Zone ... 'offset-name 'short).) In https://unicode.org/reports/tr35/tr35-dates.html#Date_Format_Patterns I find an example: Pattern Result (in a particular locale) yyyy.MM.dd G 'at' HH:mm:ss zzz 1996.07.10 AD at 15:08:56 PDT which makes me think it should perhaps work. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/10f6f25d-6da8-4bbb-9459-ce63ae071c34%40googlegroups.com.