Hi Jan, I haven't reviewed the patch functionality, but I see that it is missing a commit message. Please review this to learn about the required format for commit messages: http://orgmode.org/worg/org-contribute.html#commit-messages Thanks. On Thu, Jul 6, 2017, 5:10 AM Jan Seeger wrote: > Changed org-activate-dates to activate custom timestamps for both > dates in date ranges. Formerly, only the second date would be > activated. The reason was a misplaced "if". Replaced it with "when". > --- > lisp/org.el | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/lisp/org.el b/lisp/org.el > index ab0bde1ef..f000c8f24 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -6105,9 +6105,11 @@ by a #." > 'keymap org-mouse-map)) > (org-rear-nonsticky-at (match-end 0)) > (when org-display-custom-times > - (if (match-end 3) > - (org-display-custom-time (match-beginning 3) (match-end 3)) > - (org-display-custom-time (match-beginning 1) (match-end 1)))) > + ;; If it's a date range, activate custom time for second date > + (when (match-end 3) > + (org-display-custom-time (match-beginning 3) (match-end 3))) > + ;; Always activate custom time for first matched date > + (org-display-custom-time (match-beginning 1) (match-end 1))) > t)) > > (defvar-local org-target-link-regexp nil > -- > 2.13.0 > -- Kaushal Modi