emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@gmail.com>
To: Russell Adams <RLAdams@adamsinfoserv.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [Bug] Date span failure in agenda w/o day of week in timestamp?
Date: Tue, 26 Apr 2022 20:17:23 +0800	[thread overview]
Message-ID: <87levsvy24.fsf@localhost> (raw)
In-Reply-To: <YmfZZZoLlJRLsEpA@tahm.private>

Russell Adams <RLAdams@adamsinfoserv.com> 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


  reply	other threads:[~2022-04-26 12:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-25 12:38 Russell Adams
2022-04-26  9:43 ` Ihor Radchenko
2022-04-26 11:37   ` Russell Adams
2022-04-26 12:17     ` Ihor Radchenko [this message]
2022-04-26 12:39       ` Russell Adams
2022-04-26 13:23         ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87levsvy24.fsf@localhost \
    --to=yantar92@gmail.com \
    --cc=RLAdams@adamsinfoserv.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: [Bug] Date span failure in agenda w/o day of week in timestamp?' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).