From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iJcxCcXiZ2KfhQEAbAwnHQ (envelope-from ) for ; Tue, 26 Apr 2022 14:17:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2EkgCcXiZ2KXDQAAauVa8A (envelope-from ) for ; Tue, 26 Apr 2022 14:17:09 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C49AC1FB6A for ; Tue, 26 Apr 2022 14:17:08 +0200 (CEST) Received: from localhost ([::1]:45032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njK7v-0007ic-Et for larch@yhetil.org; Tue, 26 Apr 2022 08:17:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njK7O-0007iQ-NH for emacs-orgmode@gnu.org; Tue, 26 Apr 2022 08:16:34 -0400 Received: from mail-oo1-xc2a.google.com ([2607:f8b0:4864:20::c2a]:33451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njK7N-0000oZ-3E for emacs-orgmode@gnu.org; Tue, 26 Apr 2022 08:16:34 -0400 Received: by mail-oo1-xc2a.google.com with SMTP id f13-20020a4aa68d000000b0033a2c53d0baso3347995oom.0 for ; Tue, 26 Apr 2022 05:16:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=mGKBXVRCWEZdyaCtm0ZgxeHXZVszyjo6R+By0dlswoM=; b=G/E6D1sjglF/+gWdovV220Pgr72OgY/h54G+RHlpf/YWg4v8qazjaocylOtHpRphx2 el6rzWxQFEo09o03CIiijX4PfVS8SLXFgqY+hw/shmIsLD2ij+XRDGl4NGzYp/uSG0kK VlS0b6KXzOiijvaGHDT6wXIq5I/XwFizoxlt+4we7i/JZFS6Vv3Sa05vkMUiyIvE6XcP Mj04AG/MLoetcSdHUInyy62yuSnBe4S2aOIotKJ94zRk28A/D8DUwSYxD5vMXGxiiAPB Uu12euhik4iNyYj8UjLSNiKseVVYpQQ4TKr7lmCq3NAlbq74V+3Ur/6lGwEIwVgK87Kt Y4nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=mGKBXVRCWEZdyaCtm0ZgxeHXZVszyjo6R+By0dlswoM=; b=3wDg+yQVqVONgXx2ugVjARd/GkhQMgCbDsCuyHP3l0MDHA/wEmxmd7e/Yzp3Lkvimn ClaU4tDFL7dtHlwAZicII7yWjGw+UsW9XdKCfvlz6hPNE2UNszwlahEeRgmGcY3pNWdi py+MVETL2Kgkrfs0kogTfqVhugPKrke6UGDRUSo4X63+hog4b6y8cewWNnE8LxThYhCc yEzTRrX8Om9QI7pxNm9+x7GnhzUgUuSUUqsF9xgoicCMM1IKNDlk9gmspKfC0UP8Hatj QDsnuZ/LXlEEG5VLJiVSYdq3ao1FTE31nYtg9tD6crDllGqA/aW8NbH0PUISpkuHzLAE NFBg== X-Gm-Message-State: AOAM532nU15NxaS4/QjFTIgVjvtzIONfJ1TqbhI/oWjU1VCN35DdTu41 Wx8xJNDf4ybNUaF46ojRXHRZFUyzmqr5XA== X-Google-Smtp-Source: ABdhPJxfXPd3xI+zF6JSZcGCRTT985YzDg/ufxsQDGoimsr6gGWLgzcmVz/A7KLTA9uo8TRfK1xStQ== X-Received: by 2002:a4a:ad0a:0:b0:35e:79da:30c7 with SMTP id r10-20020a4aad0a000000b0035e79da30c7mr2267315oon.53.1650975390750; Tue, 26 Apr 2022 05:16:30 -0700 (PDT) Received: from localhost ([104.223.98.2]) by smtp.gmail.com with ESMTPSA id b5-20020a9d7545000000b006054e5f6703sm4852246otl.31.2022.04.26.05.16.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 05:16:29 -0700 (PDT) From: Ihor Radchenko To: Russell Adams Subject: Re: [Bug] Date span failure in agenda w/o day of week in timestamp? In-Reply-To: References: <87zgk8tc17.fsf@localhost> Date: Tue, 26 Apr 2022 20:17:23 +0800 Message-ID: <87levsvy24.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::c2a; envelope-from=yantar92@gmail.com; helo=mail-oo1-xc2a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650975428; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mGKBXVRCWEZdyaCtm0ZgxeHXZVszyjo6R+By0dlswoM=; b=fn9lHsiYH3DNT9vOAX9xW8x1xVvUaZ1G9q7xyXAEhLFTJg/5p/BLn83drJqxfSLkHPuHWj 7XkFI/7u8lEAHYA7+Y4FQZdNiAT5SYI/nb5oyAvCz0oX2zFWNt31iJSWfAW45HQ/y80TFU mGRjmQI+X7j/4T/hlKmZCgm0e9gdasD9sD1qdcI5m6rjDSm9bk8iPAzR0CDcoq/gPkuEmK F/Kr+jtxrNt9xCYRaB98Uca6b4KRM/fomjCDOQQCni+6ft5rjXtJcPj4Q8ZiHrZq9s9SZC cpmVf11wa7ycjrJqDYO1zhrypggSGBOkhismAk7Bmhc4LEAoF0CW4ypoTn4yMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650975428; a=rsa-sha256; cv=none; b=erL58E/q0l3+FDkEegM/saVWHXQothzZ67OOYX+Wj9sn2RMLCI3kKlV9e91pIh7KoPrTcH BpnCc1fPJYtNqc45GOE6pdkTBKrYpu5jMCwAcYm9xWIayKamQdR5Cv2g5BvIOXWXVGUx4J q+Xf+ushRs64SzMuJ6Mfra4TooKjd8f4X4hxTk4eaa7KExMF7yTwDJ822BMCzMfip2xroO 5bdMqJEQqZGtDR4STVicoeKmHeUIyl/+JWis8jsRcU3KRo5Yf2xe3ZUzjCY/NasJ74vbwX hX/5xS9bLw4Kcprg8F/mWqihnn4JxxQKLyu50iNIqbp4fTKkoqcqa/9hPCC70g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="G/E6D1sj"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="G/E6D1sj"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C49AC1FB6A X-Spam-Score: -2.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: ujY6Worzj6c4 Russell Adams writes: >> > <2022-04-28 21:00>--<2022-04-29 02:00> >> > > Is that technically a valid timestamp, meaning that it should be > recognized? Or is it just Gnus outputting a bad timestamp and I should > go try to adjust it? It is valid. You can check it by calling M-: (org-element-context) at timestamp. Our parser does recognise your example as: (timestamp (:type active-range :raw-value "<2022-04-28 21:00>--<2022-04-29 02:00>" :year-start 2022 :month-start 4 :day-start 28 :hour-start 21 :minute-start 0 :year-end 2022 :month-end 4 :day-end 29 :hour-end 2 :minute-end 0 :begin 293 :end 331 :post-blank 0)) You can see that the end date is recognised correctly. Best, Ihor