[Haskell-cafe] Help parsing dates and times
Justin Bailey
jgbailey at gmail.com
Mon Oct 15 19:29:56 EDT 2007
I am trying to parse various date and time formats using the parseTime
function found in (GHC 6.6.1) Data.Time.Format. The one that is giving me
trouble looks like this:
2008-06-26T11:00:00.000-07:00
Specifically, the time zone offset isn't covered by the format parameters
given. I can almost parse it with this:
%FT%X.000
But that doesn't take into account the "-07:00" bit. I'm sure this has been
solved - can someone point me to the solution? Thanks in advance.
Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20071015/9b2de525/attachment.htm
More information about the Haskell-Cafe
mailing list