Added normalize_RFC_2822_date() to be-mbox-to-xml.
authorW. Trevor King <wking@drexel.edu>
Wed, 23 Sep 2009 16:18:31 +0000 (12:18 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 23 Sep 2009 16:18:31 +0000 (12:18 -0400)
commita183301a11d67ef35727d3dec8dbef6b3529f631
tree955ec4191f740f529d2e05c9bd6f01999dd4b548
parentb76fa539c4e8eb6b2d9bb6f34841c7c21b52e498
Added normalize_RFC_2822_date() to be-mbox-to-xml.

The
  if new_fields[u'date'] != None:
bit avoids attemting to normalize missing dates (which fails).  You
get messages with missing dates when comment_message_to_xml() is
called recursively for multipart messages.

Also fixed some unicode keys (['X'] -> [u'X']) for consistency.
interfaces/xml/be-mbox-to-xml