From 4e6b4e9b3f8e8c31fd89456f46c4f51aa4811a1e Mon Sep 17 00:00:00 2001 From: Maxime Bruguet Date: Thu, 29 Oct 2015 14:56:43 +0100 Subject: [PATCH] Update $BULLETTRAIN_TIME_12HR change the "%X" in prompt_time() to "%T", because %X is based on local time so even if $BULLETTRAIN_TIME_12HR is false, the time would be in 12hr format because of the local. The %T forces it in 24hr format whatever your zone is. --- bullet-train.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bullet-train.zsh-theme b/bullet-train.zsh-theme index beeeea9..9214947 100644 --- a/bullet-train.zsh-theme +++ b/bullet-train.zsh-theme @@ -426,7 +426,7 @@ prompt_time() { if [[ $BULLETTRAIN_TIME_12HR == true ]]; then prompt_segment $BULLETTRAIN_TIME_BG $BULLETTRAIN_TIME_FG %D{%r} else - prompt_segment $BULLETTRAIN_TIME_BG $BULLETTRAIN_TIME_FG %D{%X} + prompt_segment $BULLETTRAIN_TIME_BG $BULLETTRAIN_TIME_FG %D{%T} fi }