Max Nikulin <maniku...@gmail.com> writes:

>>>> +(defun org-time-inc (unit value time)
>>> Is there a chance that support of intervals like 1h20m will be required
>>> later?
>> 
>> Not sure again. I simply used ts-inc function signature from Adam's
>> ts.el as reference.
>
> ts.el has `ts-adjust' that may change several fields. I had in mind 
> specification of time interval from RFC5545 iCalendar P4h20m.

We do not follow RFC5545 anywhere.
The closest is org-duration, which would use 4h20min.
But then one can simply use
(org-time-inc 'minute (org-duration-to-minutes "4h20min") time)

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to