aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-04-03 00:55:11 -0700
committerGravatar Tom Willemse2023-04-03 00:55:11 -0700
commit50ea147510f24c6aa799dcb414740ee3613dd557 (patch)
tree35d4afb8948253bd6602a6ce7e5ddfc4e93ec84d /oni-org
parentf965d1c7687d93fb643ff1906aa443c144047240 (diff)
downloademacs-config-50ea147510f24c6aa799dcb414740ee3613dd557.tar.gz
emacs-config-50ea147510f24c6aa799dcb414740ee3613dd557.zip
[oni-org] Disable padding of date for comparison
Comparing “3” to “03”, for example, won't ever succeed.
Diffstat (limited to 'oni-org')
-rw-r--r--oni-org/oni-org.el4
1 files 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 <tom@ryuslash.org>
;; 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))