Re: [PATCH] TODO: date range queries - check
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 7 Dec 2012 16:52:24 +0000 (11:52 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:51:43 +0000 (09:51 -0800)
d4/6f8f5a65066bb10b0142eaadf0bd87b7662532 [new file with mode: 0644]

diff --git a/d4/6f8f5a65066bb10b0142eaadf0bd87b7662532 b/d4/6f8f5a65066bb10b0142eaadf0bd87b7662532
new file mode 100644 (file)
index 0000000..3a9947a
--- /dev/null
@@ -0,0 +1,68 @@
+Return-Path: <dkg@fifthhorseman.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 8047E431FB6\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 08:52:28 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id iTY2puAOzw8b for <notmuch@notmuchmail.org>;\r
+       Fri,  7 Dec 2012 08:52:26 -0800 (PST)\r
+Received: from che.mayfirst.org (che.mayfirst.org [209.234.253.108])\r
+       by olra.theworths.org (Postfix) with ESMTP id C6E74431FAE\r
+       for <notmuch@notmuchmail.org>; Fri,  7 Dec 2012 08:52:26 -0800 (PST)\r
+Received: from [192.168.23.207] (dsl254-070-154.nyc1.dsl.speakeasy.net\r
+       [216.254.70.154])\r
+       by che.mayfirst.org (Postfix) with ESMTPSA id 3D34BF970;\r
+       Fri,  7 Dec 2012 11:52:23 -0500 (EST)\r
+Message-ID: <50C21EC8.6020504@fifthhorseman.net>\r
+Date: Fri, 07 Dec 2012 11:52:24 -0500\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Icedove/17.0\r
+MIME-Version: 1.0\r
+To: David Bremner <david@tethera.net>\r
+Subject: Re: [PATCH] TODO: date range queries - check\r
+References: <1354833276-6219-1-git-send-email-jani@nikula.org>\r
+       <877gouine4.fsf@servo.finestructure.net>\r
+       <871uf2ukat.fsf@zancas.localnet>\r
+In-Reply-To: <871uf2ukat.fsf@zancas.localnet>\r
+X-Enigmail-Version: 1.4.6\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: 8bit\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 07 Dec 2012 16:52:28 -0000\r
+\r
+On 12/07/2012 07:19 AM, David Bremner wrote:\r
+> For specifying one-ended ranges, I find the current syntax OK-ish. It\r
+> would be reasonable to formulate a seperate TODO for supporting\r
+> things like date:2012-12-07\r
+\r
+Out of curiosity, how does this syntax interact with timezones?\r
+\r
+If i send a mail in the wee hours of the 27th from the east coast of the\r
+US (GMT-0500) and jrollins reads it from the west coast of the US\r
+(GMT-0800) where it is still the 26th, should our notmuch queries behave\r
+differently when searching for this message?\r
+\r
+are we tracking the TZ of the Date: header in the database at all?  does\r
+it make sense to take that into account for these queries?\r
+\r
+       --dkg, posing questions he has no answers to\r