]> git.notmuchmail.org Git - notmuch/blobdiff - database.cc
Hook up our fancy new notmuch_parse_date function.
[notmuch] / database.cc
index 7ea1f4168fb42bea820e147a0bfed14654258364..6ac04f74ee4f4dbbd19908f3d82c47c554458d2d 100644 (file)
@@ -554,13 +554,11 @@ notmuch_database_add_message (notmuch_database_t *notmuch,
 
        free (message_id);
 
 
        free (message_id);
 
-/*
        date = notmuch_message_get_header (message, "date");
        time_value = notmuch_parse_date (date, NULL);
 
        doc.add_value (NOTMUCH_VALUE_DATE,
                       Xapian::sortable_serialise (time_value));
        date = notmuch_message_get_header (message, "date");
        time_value = notmuch_parse_date (date, NULL);
 
        doc.add_value (NOTMUCH_VALUE_DATE,
                       Xapian::sortable_serialise (time_value));
-*/
 
        db->add_document (doc);
     } catch (const Xapian::Error &error) {
 
        db->add_document (doc);
     } catch (const Xapian::Error &error) {