[Haskell-cafe] Help parsing dates and times
bringert at cs.chalmers.se
Tue Oct 16 10:16:47 EDT 2007
On Oct 16, 2007, at 2:25 , Don Stewart wrote:
>> I am trying to parse various date and time formats using the
>> function found in (GHC 6.6.1) Data.Time.Format. The one that is
>> giving me
>> trouble looks like this:
>> Specifically, the time zone offset isn't covered by the format
>> given. I can almost parse it with this:
>> 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
Time-Format.html#v%3AformatTime for all the format specifiers).
> Is there anything in the parsedate library?
> -- Don
parsedate is obsolete, unless you have ghc < 6.6.1. It was rewritten
to become what is now the date parsing code in the time package.
More information about the Haskell-Cafe