]> git.cworth.org Git - notmuch/blobdiff - notmuch-reply.c
cli: replace use of g_mime_message_get_date_as_string
[notmuch] / notmuch-reply.c
index e6c166414f1a72c376911b4e4dae63e26250e519..857e1e141121e7dc66562677e466400b6872cda0 100644 (file)
@@ -61,7 +61,7 @@ format_part_reply (GMimeStream *stream, mime_node_t *node)
                                  recipients_string);
        g_free (recipients_string);
        g_mime_stream_printf (stream, "> Subject: %s\n", g_mime_message_get_subject (message));
-       g_mime_stream_printf (stream, "> Date: %s\n", g_mime_message_get_date_as_string (message));
+       g_mime_stream_printf (stream, "> Date: %s\n", g_mime_message_get_date_string (node, message));
        g_mime_stream_printf (stream, ">\n");
     } else if (GMIME_IS_PART (node->part)) {
        GMimeContentType *content_type = g_mime_object_get_content_type (node->part);