emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* funny bug if shifting scheduled items
@ 2015-09-21  7:11 Detlef Steuer
  2015-09-22 19:24 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Detlef Steuer @ 2015-09-21  7:11 UTC (permalink / raw)
  To: emacs-orgmode


Hi all!

Met this funny bug in the morning.

(orgmode version: git from today)

Given the file

* Testappointment
  SCHEDULED: <2015-09-21 Mo 23:00-23:55>

If I now shift the *starttime* using shift-uparrow
the *endtime* goes to 24:00, 24:05 etc.

If I keep shifting the *endtime* goes from
24:55 to 24:00 again.

The *starttime* correctly rolls over to 0:00 .

Have a nice week

Detlef

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: funny bug if shifting scheduled items
  2015-09-21  7:11 funny bug if shifting scheduled items Detlef Steuer
@ 2015-09-22 19:24 ` Nicolas Goaziou
  2015-09-23  9:16   ` Detlef Steuer
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2015-09-22 19:24 UTC (permalink / raw)
  To: Detlef Steuer; +Cc: emacs-orgmode

Hello,

Detlef Steuer <detlef.steuer@gmx.de> writes:

> Met this funny bug in the morning.
>
> (orgmode version: git from today)
>
> Given the file
>
> * Testappointment
>   SCHEDULED: <2015-09-21 Mo 23:00-23:55>
>
> If I now shift the *starttime* using shift-uparrow
> the *endtime* goes to 24:00, 24:05 etc.
>
> If I keep shifting the *endtime* goes from
> 24:55 to 24:00 again.
>
> The *starttime* correctly rolls over to 0:00 .

Fixed, somewhat. Thank you.

Note that it can still produce meaningless timestamps, e.g.,

  <2015-09-21 Mo 23:00-23:55> => <2015-09-21 Mo 23:05-00:00>

but at least, it is predictable.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: funny bug if shifting scheduled items
  2015-09-22 19:24 ` Nicolas Goaziou
@ 2015-09-23  9:16   ` Detlef Steuer
  0 siblings, 0 replies; 3+ messages in thread
From: Detlef Steuer @ 2015-09-23  9:16 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Nicolas Goaziou

Am Tue, 22 Sep 2015 21:24:59 +0200
schrieb Nicolas Goaziou <mail@nicolasgoaziou.fr>:

> Hello,
> 
> Detlef Steuer <detlef.steuer@gmx.de> writes:
> 
> > Met this funny bug in the morning.
> >
> > (orgmode version: git from today)
> >
> > Given the file
> >
> > * Testappointment
> >   SCHEDULED: <2015-09-21 Mo 23:00-23:55>
> >
> > If I now shift the *starttime* using shift-uparrow
> > the *endtime* goes to 24:00, 24:05 etc.
> >
> > If I keep shifting the *endtime* goes from
> > 24:55 to 24:00 again.
> >
> > The *starttime* correctly rolls over to 0:00 .
> 
> Fixed, somewhat. Thank you.
> 
> Note that it can still produce meaningless timestamps, e.g.,
> 
>   <2015-09-21 Mo 23:00-23:55> => <2015-09-21 Mo 23:05-00:00>
> 
> but at least, it is predictable.
> 

Thx!

I don`t consider that time-stamp meaningless. At least for humans :-)
Using the context you know it´t 0:00 the next day.

I doubt it were better to split a time intervall at midnight into a
regular time span, say

<2015-09-21 Mo 23:00-23:55> => (+ 5min)
<2015-09-21 Mo 23:05>--<2015-09-22 Di 00:00>

Not worth the trouble I´d say. The time span given in an intervall
HH:MM-HH:MM always is < 24h and endtime > startime, so even a program could
interpret it correctly.

As always, thx for fixing so fast!

Detlef


> 
> Regards,
> 



-- 
Dr. Detlef Steuer
Helmut-Schmidt-Universität
Fakultät WiSo
Holstenhofweg 85
22043 Hamburg

Tel:  040/6541-2819
mail: steuer@hsu-hh.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-23  9:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-21  7:11 funny bug if shifting scheduled items Detlef Steuer
2015-09-22 19:24 ` Nicolas Goaziou
2015-09-23  9:16   ` Detlef Steuer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).