X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage.cc;h=f78e5a9d302fd62c09e41dfc59966b57e3056c3b;hp=b330dcce5ecf374b7f6009ffbbd327fa1d95eaec;hb=c040464a7c8f339d15f691113b8f5fd901229bcb;hpb=1ec634461ea25d87cc16dbeb1318f8e30a07c9f1 diff --git a/lib/message.cc b/lib/message.cc index b330dcce..f78e5a9d 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -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 */