Hello, guys

`org-element-timestamp-interpreter' function returns string of the form "<2023-02-19 Sun 10:00>--<2023-02-19 Sun 10:30>" for a timestamp object passed to it. The better result would be "<2023-02-19 Sun 10:00-10:30>".

This function is also used for interpreting clock entries, which only have the format of "[2023-02-19 Sun 10:00]--[2023-02-19 Sun 10:30]".

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?

--
Best,
Ilya

Reply via email to