From 708e9bc072eddc2a3d83bc5df45de2825b011ed1 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 7 May 2020 11:04:43 +0100 Subject: Allow a custom time format to be given to the t format modifier. --- tmux.1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 2859062e..867d24e7 100644 --- a/tmux.1 +++ b/tmux.1 @@ -4407,6 +4407,21 @@ Adding .Ql p ( .Ql `t/p` ) will use shorter but less accurate time format for times in the past. +A custom format may be given using an +.Ql f +suffix (note that +.Ql % +must be escaped as +.Ql %% +if the format is separately being passed through +.Xr strftime 3 , +for example in the +.Ic status-left +option): +.Ql #{t/f/%%H#:%%M:window_activity} , +see +.Xr strftime 3 . +.Pp The .Ql b:\& and -- cgit