Skip to content

# Issue with Time Segment in powerline-icon Theme in Oh-My-Bash #637

Answered by akinomyoga
AbrarUS asked this question in Q&A
Discussion options

You must be logged in to vote
THEME_CLOCK_FORMAT=$(date -d "+5 hours 30 minutes" +"%H:%M:%S")

This sets THEME_CLOCK_FORMAT to a static string that contains the time at which Oh My Bash is loaded (i.e., the shell startup time).

Instead of trying to change the format, have you tried setting the environment variable TZ?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AbrarUS
Comment options

@akinomyoga
Comment options

Answer selected by akinomyoga
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants