aboutsummaryrefslogtreecommitdiffhomepage
path: root/database.cc
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-10-19 13:35:29 -0700
committerGravatar Carl Worth <cworth@cworth.org>2009-10-19 13:35:29 -0700
commitfa562fa22b214a7d253e80c62d4f4c97138a6155 (patch)
tree194dadb71ed0bf7faa5926e028e0526b012f6e55 /database.cc
parent401c6cc5793331773c0230e8ae00e8c4b0c63a5e (diff)
Hook up our fancy new notmuch_parse_date function.
With all the de-glib-ification out of the way, we can now use it to allow for date-based sorting of Xapian search results.
Diffstat (limited to 'database.cc')
-rw-r--r--database.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/database.cc b/database.cc
index 7ea1f416..6ac04f74 100644
--- a/database.cc
+++ b/database.cc
@@ -554,13 +554,11 @@ notmuch_database_add_message (notmuch_database_t *notmuch,
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));
-*/
db->add_document (doc);
} catch (const Xapian::Error &error) {