emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] org-element-timestamp-interpreter: Return daterange anyway,


From: Ilya Chernyshov
Subject: Re: [PATCH] org-element-timestamp-interpreter: Return daterange anyway, if DATERANGE is non-nil
Date: Mon, 20 Feb 2023 23:36:50 +0700
User-agent: K-9 Mail for Android

You suggest to split timestamp types active/inactive-range to active/inactive-timerange, active/inactive-daterange?


On February 20, 2023 6:07:19 PM GMT+07:00, Ihor Radchenko <yantar92@posteo.net> wrote:
Ilya Chernyshov <ichernyshovvv@gmail.com> writes:

So, an option is needed that controls whether to return a
daterange
(even it's possible to return a timerange) or a timerange (if the
dates
in the range are equal).

I wrote a patch that handles this problem, could you please review
the
code and give some advice to improve it?

What about recording the type of timestamp range in the parser?
Then, interpreter can simply examine the range type and emit the correct
timestamp string.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]