aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org-drill.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/org-drill.el b/org-drill.el
index dad46cb..75d2015 100644
--- a/org-drill.el
+++ b/org-drill.el
@@ -761,12 +761,7 @@ CMD is bound, or nil if it is not bound to a key."
(defun org-drill-time-to-inactive-org-timestamp (time)
"Convert TIME into org-mode timestamp."
- (format-time-string
- ;; TODO(deprecate-org-9.5): Remove backward-compat code.
- (if (version<= "9.6" (org-version))
- (org-time-stamp-format t 'no-bracket)
- (concat "[" (substring (cdr org-time-stamp-formats) 1 -1) "]"))
- time))
+ (format-time-string (org-time-stamp-format t 'no-bracket) time))
(defun org-drill-map-entries (func &optional scope drill-match &rest skip)
"Like `org-map-entries', but only drill entries are processed."