reddit / emacs

how to change modeline clock format

IcePhoneX_ · 2022-05-13 05:44
It is currently set to 12 hours time hh:mm and i would like 24 hours time hh:mm:ss
Bodertz · 2022-05-13 06:48
To get 24 hour time, set `display-time-24-hr-format` to a non-nil value. You can find the option in `M-x customize-group RET display-time RET`. If you want seconds, instead set `display-time-format` to `%H:%M:%S` and set `display-time-interval` to `1`.
IcePhoneX_ · 2022-05-13 08:39
Thank you, I appreciate your help c: