
29 Sep
2012
29 Sep
'12
5:56 p.m.
Hi, I get *** 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? Andras