From 50ea147510f24c6aa799dcb414740ee3613dd557 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 3 Apr 2023 00:55:11 -0700 Subject: [PATCH] [oni-org] Disable padding of date for comparison MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comparing “3” to “03”, for example, won't ever succeed. --- oni-org/oni-org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index f9c4eb9..fcfa7f4 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2023.0329.163548 +;; Version: 2023.0403.005409 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti form-feed) ;; This program is free software; you can redistribute it and/or modify @@ -1104,7 +1104,7 @@ placed above TARGET. Otherwise it will be placed below it." (progn (dotimes (_ 31) (org-move-subtree-down)) - (unless (string= element-title (format-time-string "%d")) + (unless (string= element-title (format-time-string "%-d")) (oni-org-dump-tickler-1))) (dotimes (_ 41) (org-move-subtree-down))