Fork me on GitHub
#clojure-europe
<
2019-10-15
>
thomas14:10:47

A Clojure question!!!!!

thomas14:10:19

I have a date/time string and I am trying to parse this with clj-time.. this is my string 2019-01-16T13:29:27

thomas14:10:45

and I have a custom formatter which looks like this: (f/formatter "yyyy-MM-ddTHH:mm:ss")

thomas14:10:15

but I get this error: Invalid format: "2019-01-16T13:29:27" is malformed at "T13:29:27"

mpenet14:10:44

you likely want to quote the T no?

mpenet14:10:57

yyyy-MM-dd'T'HH:mm:ss

thomas14:10:23

let me try...

thomas14:10:52

🙂

thomas14:10:06

that worked... and I am sure I somehow asked that before...

thomas14:10:20

but thank you @mpenet

thomas14:10:36

at least for a change we get to talk some Clojure here 😉

jasonbell15:10:10

I’m sorry, can someone confirm but I’m sure I saw a Clojure question on here…..