_time_relative_date (ctx, date),
I'm unsure it it's better to use json_quote_str here but you tell me :)
Best,
/p
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL:
<http://notmuchmail.org/pipermail/notmuch/attachments/20110714/affd94b3/attachment.pgp>
On 14/07/11 2:06 +0200, Michal Sojka wrote:
> From: Michal Sojka
>
> This adds a test for patch submitted by Louis Rilling. Without his patch
> applied this test fails.
Thanks a lot Michal! I was indeed wondering how to do this. This test perfectly
matches the intended usage.
Louis
> ---
>
Hi,
I wodered why "notmuch search --format=json" doesn't provide the
"date_relative" field for
results, as the show command does.
I'm not expert on notmuch internals but I got it working like this:
diff --git a/notmuch-search.c b/notmuch-search.c
index faccaf7..b1adc03 100644
--- a/notmuch-sear
On 14/07/11 2:06 +0200, Michal Sojka wrote:
> From: Michal Sojka
>
> This adds a test for patch submitted by Louis Rilling. Without his patch
> applied this test fails.
Thanks a lot Michal! I was indeed wondering how to do this. This test perfectly
matches the intended usage.
Louis
> ---
>
From: Michal Sojka
This adds a test for patch submitted by Louis Rilling. Without his patch
applied this test fails.
---
test/maildir-sync |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/test/maildir-sync b/test/maildir-sync
index a60854f..e1ad81c 100755
--- a/test/