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 > 1
2. 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.