[Haskell-cafe] Re: programmatic DB interface?

Colin Paul Adams colin at colina.demon.co.uk
Thu Feb 4 12:38:33 EST 2010


>>>>> "Johannes" == Johannes Waldmann <waldmann at imn.htwk-leipzig.de> writes:

    Johannes> anyone know what's happening here?  I get this when
    Johannes> executing a query via haskelldb-hdbc-postgresql-0.12 (The
    Johannes> date is actually in the DB, so it's not a connection
    Johannes> problem.)

    Johannes> Convertible: error converting source data SqlString
    Johannes> "2008-10-29 00:00:00" of type SqlValue to type
    Johannes> Data.Time.LocalTime.LocalTime.LocalTime: Cannot parse
    Johannes> using default format string "%Y-%m-%dT%T%Q"

I had this sort of problem. I sent a patch on the haskell-db list to use
UTC - I believe the release behaviour is incorrect.

You might check the list archives, as they have a better memory than I.
-- 
Colin Adams
Preston Lancashire


More information about the Haskell-Cafe mailing list