From mboxrd@z Thu Jan 1 00:00:00 1970 From: Van L Subject: time range, timestamps // was: docstring typoes in org-read-date-force-compatible-dates Date: Fri, 4 Jan 2019 13:36:33 +1100 Message-ID: References: <878t01w5vz.fsf@kyleam.com> Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfFLq-0005Gt-S3 for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 21:36:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfFLl-0006wt-UX for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 21:36:46 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:35659) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfFLl-0006vy-ON for emacs-orgmode@gnu.org; Thu, 03 Jan 2019 21:36:41 -0500 In-Reply-To: <878t01w5vz.fsf@kyleam.com> 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" To: Kyle Meyer Cc: Org Mode Mailing List > Kyle Meyer wrote: >=20 > In the future, please send > generated patches with git format-patch so that they include a commit > message (see > for instructions). Thanks Kyle. Noted. I am muddling my way through [info:org#Creating timestamps] [info:org#The date/time prompt] and see that org-evaluate-time-range does nothing for <2019-01-04 Fri 11:00-12:15> which was created using the =E2=80=9C11am+2:15=E2=80=9D style from =E2=80=94 quote You can specify a time range by giving start and end times or by giving a start time and a duration (in HH:MM format). Use one or two dash(es) as the separator in the former case and use =E2=80=99+=E2=80=99 = as the separator in the latter case, e.g.: 11am-1:15pm =E2=87=92 11:00-13:15 11am--1:15pm =E2=87=92 same as above 11am+2:15 =E2=87=92 same as above Parallel to the minibuffer prompt, a calendar is popped up(2). When you exit the date prompt, =E2=80=94 quote ends exporting that to ASCII in a buffer transforms the time range to <2019-01-04 Fri 11:00>=E2=80=93<2019-01-04 Fri 12:15> Now, that formatting put back in the Org buffer does work for = org-evaluate-time-range, as follows: <2019-01-04 Fri 12:34>-<2019-01-04 Fri 12:35> 00:01 ;; Using the C-u C-c C-y