X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-search.c;h=90ff4c2dffe99234171c0294f60e2c3eb1cbe9e0;hp=36686d196aa166b1c9d10e6b646f73ddefb62709;hb=80936b5f5895277ed1954a6bde04672120da760c;hpb=796b629c3b821986c1f8d9a9e6f952a1df1034f0 diff --git a/notmuch-search.c b/notmuch-search.c index 36686d19..90ff4c2d 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -176,12 +176,14 @@ format_thread_json (const void *ctx, printf ("\"thread\": %s,\n" "\"timestamp\": %ld,\n" + "\"date_relative\": \"%s\",\n" "\"matched\": %d,\n" "\"total\": %d,\n" "\"authors\": %s,\n" "\"subject\": %s,\n", json_quote_str (ctx_quote, thread_id), date, + notmuch_time_relative_date (ctx, date), matched, total, json_quote_str (ctx_quote, authors),