|
From: | Max Nikulin |
Subject: | Re: [PATCH] The align of time is not beautiful as 9.4 when I update to org 9.5. |
Date: | Mon, 4 Oct 2021 16:52:45 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 04/10/2021 14:48, Ihor Radchenko wrote:
tumashu writes:When I update to org 9.5, I find that the align of time like "7:00" has been changed. I think the new style is not beautiful as old style.1. New style look like not align to the first char, for the width of 9 looks like > 12. the old style is align ":"The attached patch should fix the issue. Please, test it though. I do not use time grid regularly.
- (when s1 (setq s1 (org-get-time-of-day s1 'overtime))) + (when s1 (setq s1 (format "%05s" (org-get-time-of-day s1 'overtime))))
I think, "%5s" is enough, flag "0" does not anything useful for strings.
[Prev in Thread] | Current Thread | [Next in Thread] |