         )[0]
         title: post.title
         published: post.published
-        published_at: moment(post.published_at).format()
-        updated_at: moment(post.updated_at).format()
+        published_at: moment(post.published_at).toDate()
+        updated_at: moment(post.updated_at).toDate()
         sections: (
           slideshowItems = _.compact(for attachment in (post.attachments or [])
             switch attachment?._type

  async.map posts, ((post, callback) ->
    $ = cheerio.load post.body if post.body
    bodyText = $?('*').text()
    queries = [
      (cb) -> gravity.post_artist_features.find(post_id: post._id).toArray cb
      (cb) -> gravity.post_artwork_features.find(post_id: post._id).toArray cb
    ]
    artworkIds = (ObjectId(a.artwork_id) for a in (post.attachments or []) \
      when a._type is 'PostArtwork')
    if artworkIds.length
      queries.push (cb) -> gravity.artworks.find { _id: $in: artworkIds }, cb
    async.parallel queries, (err, results) ->
      [artistFeatures, artworkFeatures, artworks] = results
      # Map Gravity data into a Positron schema
      data =
        _id: post._id

  # Load the Positron & Gravity databases
  db = require './db'
  gravity = mongojs GRAVITY_MONGO_URL, ['posts', 'post_artist_features',
    'post_artwork_features', 'artworks', 'profiles', 'fair_organizers', 'fairs',
    'reposts']
  debug "Connecting to databases and beginning migrate..."
  # Make sure both databases are a go first before dropping previously migrated
  # posts.
