1
0
Fork 0

[oni-org] Disable padding of date for comparison

Comparing “3” to “03”, for example, won't ever succeed.
This commit is contained in:
Tom Willemse 2023-04-03 00:55:11 -07:00
parent f965d1c768
commit 50ea147510

View file

@ -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))