This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-21
Channels
- # announcements (24)
- # aws (2)
- # babashka (20)
- # beginners (147)
- # cider (20)
- # clara (43)
- # clj-kondo (3)
- # cljdoc (15)
- # cljsjs (1)
- # cljsrn (36)
- # clojars (19)
- # clojure (64)
- # clojure-europe (4)
- # clojure-italy (45)
- # clojure-nl (1)
- # clojure-spec (20)
- # clojure-uk (26)
- # clojurescript (16)
- # cursive (9)
- # datomic (18)
- # dirac (14)
- # docker (3)
- # fulcro (48)
- # keechma (1)
- # leiningen (32)
- # luminus (1)
- # off-topic (40)
- # pedestal (1)
- # quil (1)
- # re-frame (24)
- # reagent (3)
- # reitit (3)
- # remote-jobs (2)
- # ring-swagger (4)
- # shadow-cljs (115)
- # spacemacs (22)
- # specter (4)
- # tools-deps (76)
I'm trying to use some date/time inputs to a compojure-api application that declares the query parameters as (prismatic schema) s/Inst
. While the API seems to work with an input date like 2014-02-18T18:25:37.456Z
, other ISO 8601 formats don't work, e.g. 20140218T182537Z
. I don't see any time input parsing/coercion tests in the compojure/compojure-api tests, so I wondered what I'd need to do to enhance the parsing, or indeed what the rules are for Inst
input syntax out of the box?
@dave.tenny you could look at the spec-tools for tests, options and places for improvement.