|
@@ -793,7 +793,8 @@ around it."
|
|
|
(when (string-match (concat "^" org-ts-regexp3 "$") s)
|
|
|
(let* ((time (org-parse-time-string s 'nodefaults))
|
|
|
(active (equal (string-to-char s) ?<))
|
|
|
- (fmt (funcall (if (nth 1 time) 'cdr 'car) org-time-stamp-formats)))
|
|
|
+ (fmt (funcall (if (nth 1 time) 'cdr 'car) org-time-stamp-formats))
|
|
|
+ time-before time-after)
|
|
|
(unless active (setq fmt (concat "[" (substring fmt 1 -1) "]")))
|
|
|
(setf (car time) (or (car time) 0))
|
|
|
(setf (nth 1 time) (or (nth 1 time) 0))
|