Morgan Smith <[email protected]> writes:

> On the start hour it increments both the start hour and finish hour which 
> seems
> correct.  It does not roll over correctly though as you see from these
> successive timestamps.
>
> <2026-04-18 Sat 20:00-23:00>
> <2026-04-18 Sat 21:00-00:00>
> <2026-04-18 Sat 22:00-01:00> // We don't support this kind of timestamp right?

We do!
See https://orgmode.org/list/[email protected]

> On the start minutes it increments both the start and end minutes according to
> `org-timestamp-rounding-minutes'.  This seems roughly correct to me although 
> it
> can change the elapsed time as with this example
>
> <2026-04-18 Sat 15:10-15:11>
> <2026-04-18 Sat 15:15-15:15>

This is a bug.
The manual promises that the duration remains constant

   ‘S-<UP>’ (‘org-timestamp-up’), ‘S-<DOWN>’ (‘org-timestamp-down’)
        At the beginning or enclosing bracket of a timestamp, change its
        type.  Within a timestamp, change the item under point.  Point can
        be on a year, month, day, hour or minute.  When the timestamp
        contains a time range like ‘15:30-16:30’, modifying the first time
        also shifts the second, shifting the time block with constant
        length.  To change the length, modify the second time.  Note that
        if point is in a headline and not at a timestamp, these same keys
        modify the priority of an item (see *note Priorities::).  The key
        bindings also conflict with shift-selection and related modes (see
        *note Conflicts::).

> On the end minutes it simply increments that number ignoring
> `org-timestamp-rounding-minutes' which seems wrong to me.

Yes, sounds wrong.

     Documentation
     Number of minutes to round time stamps to.

     These are two values, the first applies when first creating a time stamp.
     The second applies when changing it with the commands S-up and S-down.
     When changing the time stamp, this means that it will change in steps
     of N minutes, as given by the second value.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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