HaskellDB Convertible Exception: incompatible types
2012-09-29 21:56:10 GMT
*** Exception: Convertible: error converting source data SqlLocalTime 2012-04-27 10:22:15 of type SqlValue to type Data.Time.LocalTime.LocalTime.ZonedTime: incompatible types
when i try to show a record with a field of type CalendarTime (automatically generated by Database.HaskellDB.DBDirect, Mysql database type is "timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP"
I already looked forhttp://haskell.1045720.n5.nabble.com/programmatic-DB-interface-td3120759.html. But the problem there is about a regexp (not a type). And the incompatible type problem was caused because of a concatenation. Here, as you can see, i have no idea what's going on.
Can someone please help me?
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe <at> haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe