emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: emacs-orgmode@gnu.org
Cc: jhenahan@me.com
Subject: [PATCH 0/2] org-clock: Simplify `untilnow' range logic
Date: Fri, 28 Dec 2018 16:36:25 -0500	[thread overview]
Message-ID: <20181228213627.387-1-kyle@kyleam.com> (raw)

Hello,

For the clock table `untilnow' behavior, we set the starting point to
a really old date, but that falls outside the YYYY-MM-DD that
org-parse-time-string was designed to handle.  I've reworked
org-clock-special-range to use nil to represent the starting bound for
`untilnow' and updated org-parse-time-string to mention the YYYY-MM-DD
assumption.

Please let me know if you have any objections.  Otherwise, I'll apply
the following commits to maint in a few days.

  org-clock: Simplify `untilnow' range logic
  org-parse-time-string: Describe time stamp matching behavior

 lisp/org-clock.el | 9 ++++-----
 lisp/org-macs.el  | 4 +++-
 2 files changed, 7 insertions(+), 6 deletions(-)

-- 
2.20.0

             reply	other threads:[~2018-12-28 21:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-28 21:36 Kyle Meyer [this message]
2018-12-28 21:42 ` [PATCH 1/2] org-clock: Simplify `untilnow' range logic Kyle Meyer
2018-12-28 21:42 ` [PATCH 2/2] org-parse-time-string: Describe time stamp matching behavior Kyle Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181228213627.387-1-kyle@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jhenahan@me.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).