From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id E746E6DE01CE for ; Thu, 1 Feb 2018 12:53:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.257 X-Spam-Level: X-Spam-Status: No, score=0.257 tagged_above=-999 required=5 tests=[AWL=-0.790, MISSING_SUBJECT=1.767, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7hAGkU03_bTW for ; Thu, 1 Feb 2018 12:53:54 -0800 (PST) Received: from avasout06.plus.net (avasout06.plus.net [212.159.14.18]) by arlo.cworth.org (Postfix) with ESMTPS id 733206DE00C6 for ; Thu, 1 Feb 2018 12:53:53 -0800 (PST) Received: from mail.bubblegen.co.uk ([80.229.236.194]) by smtp with ESMTP id hLrheF5IWbfBPhLrieeaOY; Thu, 01 Feb 2018 20:53:50 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=afZPYygt c=1 sm=1 tr=0 a=G4bc5lkgapKKm1P+Twxy3Q==:117 a=s5jvgZ67dGcA:10 a=Op4juWPpsa0A:10 a=80hmnl3cAAAA:8 a=7343-z1_AAAA:8 a=uNCjngwY98W49Pwn5tsA:9 a=9Rn0RWHbX3xhLN2B:21 a=Ia5q8582u8lsME7a:21 a=G-y4FhfbluXncOafXg4t:22 a=TIilloDGjzTra_O4aUnR:22 Received: from bubblegen.co.uk (bubblegen.plus.com [80.229.236.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: matt) by mail.bubblegen.co.uk (Postfix) with ESMTPSA id 66B684622016; Thu, 1 Feb 2018 20:53:48 +0000 (GMT) Received: by bubblegen.co.uk (Postfix, from userid 1000) id AB223882177; Thu, 1 Feb 2018 20:53:46 +0000 (GMT) To: , Message-Id: <20180201205346.AB223882177@bubblegen.co.uk> Date: Thu, 1 Feb 2018 20:53:46 +0000 (GMT) From: matt@bubblegen.co.uk (Matthew Lear) X-CMAE-Envelope: MS4wfFmIs/CwYX43ta4MG6kqswRwDO9MLMNVBjdh5iAvPDxSNWbRQhiTk7EXnCvbD4GoT3iijtMa/W4rH7tLfwrAjBYXgr5T71z63IF1KUFMcaxLl9rhAA9O cBUDUgLAvlzC11o4YlR0VstoLAa7ptbk5wGprJsS5kQpiopimIn4Ovh0Fnk7By6jQzxA+reFj3npWg== X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2018 20:53:56 -0000 From: Matthew Lear To: notmuch@notmuchmail.org Cc: Matthew Lear Subject: [PATCH] Update date search syntax. Date: Thu, 1 Feb 2018 20:52:18 +0000 Message-Id: <20180201205218.4368-1-matt@bubblegen.co.uk> X-Mailer: git-send-email 2.14.1 If searching using the date prefix and timestamps, each timestamp is required to be prefixed with an @ Legacy syntax of .. without the date prefix is still honoured, only without the @ specifiers. --- doc/man7/notmuch-search-terms.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/man7/notmuch-search-terms.rst b/doc/man7/notmuch-search-terms.rst index 6d2bf62a..b6e7079a 100644 --- a/doc/man7/notmuch-search-terms.rst +++ b/doc/man7/notmuch-search-terms.rst @@ -124,10 +124,13 @@ date:.. or date: The time range can also be specified using timestamps with a syntax of: - .. + @..@ Each timestamp is a number representing the number of seconds - since 1970-01-01 00:00:00 UTC. + since 1970-01-01 00:00:00 UTC. A date range search using + timestamps is also permitted without using the date prefix and + @ specifiers, although this is considered legacy and pre-dates + the date prefix. lastmod:.. The **lastmod:** prefix can be used to restrict the result by the -- 2.14.1