[Haskell-cafe] formatTime doesn't work with local time ??
briand at aracnet.com
Wed Jan 20 10:15:07 EST 2010
Couldn't match expected type `T.UTCTime'
against inferred type `T.LocalTime'
In the second argument of `formatTime', namely `date'
In the expression: formatTime "%Y/%m/%e %k:%M:%S" date
But the docs have LocalTime listed as one of the FormatTime instances:
More information about the Haskell-Cafe