Non-padded hour needed for time icon

This commit is contained in:
TEC 2022-09-17 01:40:51 +08:00
parent c632511f66
commit c4b674644f
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 2 additions and 2 deletions

View File

@ -3501,8 +3501,8 @@ segment.
(when doom-modeline-time-icon
(concat
(doom-modeline-icon 'wicon
(format-time-string "time-%I")
(char-to-string (+ 61577 (string-to-number (format-time-string "%I"))))
(format-time-string "time-%-I")
(char-to-string (+ 61577 (string-to-number (format-time-string "%-I"))))
""
:face 'doom-modeline-time
:v-adjust -0.05)