Allow a custom time format to be given to the t format modifier.

This commit is contained in:
nicm
2020-05-16 15:48:35 +00:00
parent 367b4e4e0f
commit daa95810b5
2 changed files with 59 additions and 11 deletions

15
tmux.1
View File

@ -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