X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fmessage.cc;h=f78e5a9d302fd62c09e41dfc59966b57e3056c3b;hb=4ce7591610444a1c5ef6f56b57af8e180437fa62;hp=c2721191043e88e265a7920b89cc90b8a191719d;hpb=e56511817284afc14352f47a13fcf85b2fabd628;p=notmuch diff --git a/lib/message.cc b/lib/message.cc index c2721191..f78e5a9d 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -26,7 +26,7 @@ #include -struct visible _notmuch_message { +struct _notmuch_message { notmuch_database_t *notmuch; Xapian::docid doc_id; int frozen; @@ -1037,7 +1037,7 @@ _notmuch_message_set_header_values (notmuch_message_t *message, if (date == NULL || *date == '\0') { time_value = 0; } else { - time_value = g_mime_utils_header_decode_date (date, NULL); + time_value = g_mime_utils_header_decode_date_unix (date); /* * Workaround for https://bugzilla.gnome.org/show_bug.cgi?id=779923 */