From daa95810b53c25d10c90b85ef6fbf8ab32479e23 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 16 May 2020 15:48:35 +0000 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 bac95e88..852ae80f 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