Usando UTCTime con Hamlet

Estoy usando Yesod en mi primer sitio y tengo una lista de noticias:

NewsItem
    date    UTCTime default=CURRENT_TIME
    title   String
    content String
    author  String

que se recuperan en mi controlador:

newsitems <- runDB $ selectList [] [Desc NewsItemDate]

y finalmente usado en mi plantilla:

$if null newsitems
    <p>No news.
$else
    $forall Entity id entry <- newsitems
        <article>
            <h4>#{newsItemDate entry}
            <p>#{newsItemContent entry}

Pero me sale un error sobre los tipos de datos:

Handler/Home.hs:20:11:
    No instance for (Text.Blaze.ToMarkup
                       time-1.4:Data.Time.Clock.UTC.UTCTime)
      arising from a use of `toHtml'
    Possible fix:
      add an instance declaration for
      (Text.Blaze.ToMarkup time-1.4:Data.Time.Clock.UTC.UTCTime)
    In the first argument of `toWidget', namely
      `toHtml (newsItemDate entry_a6ev)'
    In a stmt of a 'do' block:
      toWidget (toHtml (newsItemDate entry_a6ev))
    In the expression:
      do { toWidget
             ((Text.Blaze.Internal.preEscapedText . Data.Text.pack)
                "<article><h4>");
           toWidget (toHtml (newsItemDate entry_a6ev));
           toWidget
             ((Text.Blaze.Internal.preEscapedText . Data.Text.pack)
                "</h4>\
                \<p>");
           toWidget (toHtml (newsItemContent entry_a6ev));
           .... }

Así que me imagino que seguiría adelante y agregaría a mi Import.hs:

import Data.Time (UTCTime)
import Data.Time.Format (formatTime)
import Text.Blaze (ToMarkup, toMarkup)
import Text.Blaze.Internal (string)
import System.Locale (defaultTimeLocale)

-- format date as     26 July 2012
instance ToMarkup UTCTime where
   toMarkup a = string (formatTime defaultTimeLocale "%e %B %Y" a)

Que se compila, pero me da un error en tiempo de ejecución en el navegador:

Internal Server Error
PersistMarshalError "Expected UTCTime, received PersistText \"2012-08-30\""

Así que no estoy seguro de cómo resolver esto, ¿alguna idea?

EDITAR: Código fuente al sitio en caso de que sea necesario o curioso:https://github.com/iaefai/socrsite

Respuestas a la pregunta(2)

Su respuesta a la pregunta