From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlef Steuer Subject: Re: funny bug if shifting scheduled items Date: Wed, 23 Sep 2015 11:16:52 +0200 Message-ID: <20150923111652.15f963d8@gaia> References: <20150921091129.490e6a8c@gaia> <87fv26b6k4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZegFU-0003Na-TU for emacs-orgmode@gnu.org; Wed, 23 Sep 2015 05:22:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZegFQ-0003qp-Tr for emacs-orgmode@gnu.org; Wed, 23 Sep 2015 05:22:00 -0400 Received: from mout.gmx.net ([212.227.17.21]:64923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZegFQ-0003qH-Ny for emacs-orgmode@gnu.org; Wed, 23 Sep 2015 05:21:56 -0400 In-Reply-To: <87fv26b6k4.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Nicolas Goaziou Am Tue, 22 Sep 2015 21:24:59 +0200 schrieb Nicolas Goaziou : > Hello, >=20 > Detlef Steuer writes: >=20 > > 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 . >=20 > Fixed, somewhat. Thank you. >=20 > Note that it can still produce meaningless timestamps, e.g., >=20 > <2015-09-21 Mo 23:00-23:55> =3D> <2015-09-21 Mo 23:05-00:00> >=20 > but at least, it is predictable. >=20 Thx! I don`t consider that time-stamp meaningless. At least for humans :-) Using the context you know it=C2=B4t 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> =3D> (+ 5min) <2015-09-21 Mo 23:05>--<2015-09-22 Di 00:00> Not worth the trouble I=C2=B4d 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 >=20 > Regards, >=20 --=20 Dr. Detlef Steuer Helmut-Schmidt-Universit=C3=A4t Fakult=C3=A4t WiSo Holstenhofweg 85 22043 Hamburg Tel: 040/6541-2819 mail: steuer@hsu-hh.de