       publish: model.publish,
       removal: model.removal,
 
-      published_at: model.published_at,
+      published_at: Timex.DateFormat.format!(published_at, "{ISO}"),
 
       site_name: (if model.site_id, do: model.site.name, else: ""),
     ]


      sort do
        [
          [published_at: "desc"]
        ]
      end


  end

  def search_data(model) do
    {:ok, published_at} =
      model.published_at
      |> Timex.Ecto.DateTime.cast

    [
      _id: model.id,
      url: model.url,
