ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.53k stars 624 forks source link

How to change time from 12H to 24H. #571

Closed retxrika closed 1 month ago

retxrika commented 1 month ago

Hello!

In the "ohmyzsh" project there was exactly the same question, but there it was solved very simply: Please tell me how to do the same for this project. The theme in my case is "Font".

image

retxrika commented 1 month ago

Link to previous question in "ohmyzsh": https://github.com/ohmyzsh/ohmyzsh/issues/9387

jvitorinoj commented 1 month ago

export THEME_CLOCK_FORMAT="%H:%M:%S"

Set the var THEME_CLOCK_FORMAT in $HOME/.oh-my-bash/themes/font/font.theme.sh to a permanent change

retxrika commented 1 month ago

It worked, thanks a lot! I'm closing the question.