[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] time range, timestamps // was: docstring typoes in org-read-date
From: |
Kyle Meyer |
Subject: |
Re: [O] time range, timestamps // was: docstring typoes in org-read-date-force-compatible-dates |
Date: |
Sat, 05 Jan 2019 12:43:47 -0500 |
Van L <address@hidden> writes:
[...]
> I am muddling my way through
>
> [info:org#Creating timestamps]
> [info:org#The date/time prompt]
>
> and see that org-evaluate-time-range does nothing for
>
> <2019-01-04 Fri 11:00-12:15>
It looks like org-evaluate-time-range uses org-at-date-range-p, which
matches only the timestamp--timestamp range style. I'd guess that the
easiest way to make org-evaluate-time-range support the single timestamp
range variant would be to update it to use the org-element api (e.g.,
org-element-context reports the above timestamp as :type active-range).
--
kyle